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

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

authored by

Bart Van Assche and committed by
Martin K. Petersen
8a098ba4 f01feece

+1 -1
+1 -1
drivers/scsi/mvumi.c
··· 2168 2168 return 0; 2169 2169 } 2170 2170 2171 - static struct scsi_host_template mvumi_template = { 2171 + static const struct scsi_host_template mvumi_template = { 2172 2172 2173 2173 .module = THIS_MODULE, 2174 2174 .name = "Marvell Storage Controller",