Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Bart Van Assche and committed by
Martin K. Petersen
4ba116af 09dce26c

+1 -1
+1 -1
drivers/scsi/initio.c
··· 2788 2788 initio_release_scb(host, cblk); /* Release SCB for current channel */ 2789 2789 } 2790 2790 2791 - static struct scsi_host_template initio_template = { 2791 + static const struct scsi_host_template initio_template = { 2792 2792 .proc_name = "INI9100U", 2793 2793 .name = "Initio INI-9X00U/UW SCSI device driver", 2794 2794 .queuecommand = i91u_queuecommand,