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>
This commit is contained in:
parent
09dce26c4a
commit
4ba116af0f
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user