summaryrefslogtreecommitdiff
path: root/drivers/scsi/initio.c
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2023-03-22 12:54:41 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2023-03-24 19:19:56 -0400
commit4ba116af0fd3f665ba6f855c0cd7e2b6a4b6b5e7 (patch)
tree1df7ec1dbaa1b96bcd024de079f45e229c4e8c28 /drivers/scsi/initio.c
parent09dce26c4a8957069d06bdf4046b45bfc0ba7f38 (diff)
downloadlwn-4ba116af0fd3f665ba6f855c0cd7e2b6a4b6b5e7.tar.gz
lwn-4ba116af0fd3f665ba6f855c0cd7e2b6a4b6b5e7.zip
scsi: initio: Declare SCSI host template const
Make it explicit that the SCSI host template is not modified. Signed-off-by: Bart Van Assche <bvanassche@acm.org> Link: https://lore.kernel.org/r/20230322195515.1267197-47-bvanassche@acm.org Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/initio.c')
-rw-r--r--drivers/scsi/initio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/initio.c b/drivers/scsi/initio.c
index 375261d67619..2a50fda3a628 100644
--- a/drivers/scsi/initio.c
+++ b/drivers/scsi/initio.c
@@ -2788,7 +2788,7 @@ static void i91uSCBPost(u8 * host_mem, u8 * cblk_mem)
initio_release_scb(host, cblk); /* Release SCB for current channel */
}
-static struct scsi_host_template initio_template = {
+static const struct scsi_host_template initio_template = {
.proc_name = "INI9100U",
.name = "Initio INI-9X00U/UW SCSI device driver",
.queuecommand = i91u_queuecommand,