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

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

authored by

Bart Van Assche and committed by
Martin K. Petersen
644d8d77 13c2e964

+1 -1
+1 -1
drivers/scsi/arm/oak.c
··· 100 100 101 101 #include "../NCR5380.c" 102 102 103 - static struct scsi_host_template oakscsi_template = { 103 + static const struct scsi_host_template oakscsi_template = { 104 104 .module = THIS_MODULE, 105 105 .name = "Oak 16-bit SCSI", 106 106 .info = oakscsi_info,