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

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

authored by

Bart Van Assche and committed by
Martin K. Petersen
c9ac4e73 1785ced8

+1 -1
+1 -1
drivers/scsi/mvme147.c
··· 69 69 m147_pcc->dma_cntrl = 0; 70 70 } 71 71 72 - static struct scsi_host_template mvme147_host_template = { 72 + static const struct scsi_host_template mvme147_host_template = { 73 73 .module = THIS_MODULE, 74 74 .proc_name = "MVME147", 75 75 .name = "MVME147 built-in SCSI",