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

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

authored by

Bart Van Assche and committed by
Martin K. Petersen
796e8f80 4fe61364

+1 -1
+1 -1
drivers/scsi/qla1280.c
··· 4115 4115 } 4116 4116 4117 4117 4118 - static struct scsi_host_template qla1280_driver_template = { 4118 + static const struct scsi_host_template qla1280_driver_template = { 4119 4119 .module = THIS_MODULE, 4120 4120 .proc_name = "qla1280", 4121 4121 .name = "Qlogic ISP 1280/12160",