diff options
author | Bart Van Assche <bvanassche@acm.org> | 2023-03-22 12:54:41 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-03-24 19:19:56 -0400 |
commit | 4ba116af0fd3f665ba6f855c0cd7e2b6a4b6b5e7 (patch) | |
tree | 1df7ec1dbaa1b96bcd024de079f45e229c4e8c28 /drivers/scsi/initio.c | |
parent | 09dce26c4a8957069d06bdf4046b45bfc0ba7f38 (diff) | |
download | linux-stable-4ba116af0fd3f665ba6f855c0cd7e2b6a4b6b5e7.tar.gz linux-stable-4ba116af0fd3f665ba6f855c0cd7e2b6a4b6b5e7.tar.bz2 linux-stable-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.c | 2 |
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, |