Commit 4ba116af authored by Bart Van Assche's avatar Bart Van Assche Committed by Martin K. Petersen

scsi: initio: Declare SCSI host template const

Make it explicit that the SCSI host template is not modified.
Signed-off-by: default avatarBart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20230322195515.1267197-47-bvanassche@acm.orgSigned-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 09dce26c
...@@ -2788,7 +2788,7 @@ static void i91uSCBPost(u8 * host_mem, u8 * cblk_mem) ...@@ -2788,7 +2788,7 @@ static void i91uSCBPost(u8 * host_mem, u8 * cblk_mem)
initio_release_scb(host, cblk); /* Release SCB for current channel */ 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", .proc_name = "INI9100U",
.name = "Initio INI-9X00U/UW SCSI device driver", .name = "Initio INI-9X00U/UW SCSI device driver",
.queuecommand = i91u_queuecommand, .queuecommand = i91u_queuecommand,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment