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

scsi: a100u2w: 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-14-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

Bart Van Assche and committed by
Martin K. Petersen
157fc774 83e479e1

+1 -1
+1 -1
drivers/scsi/a100u2w.c
··· 1065 1065 return res; 1066 1066 } 1067 1067 1068 - static struct scsi_host_template inia100_template = { 1068 + static const struct scsi_host_template inia100_template = { 1069 1069 .proc_name = "inia100", 1070 1070 .name = inia100_REVID, 1071 1071 .queuecommand = inia100_queue,