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

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

authored by

Bart Van Assche and committed by
Martin K. Petersen
b816c6bf 16c0a2db

+1 -1
+1 -1
drivers/scsi/dmx3191d.c
··· 39 39 #define DMX3191D_REGION_LEN 8 40 40 41 41 42 - static struct scsi_host_template dmx3191d_driver_template = { 42 + static const struct scsi_host_template dmx3191d_driver_template = { 43 43 .module = THIS_MODULE, 44 44 .proc_name = DMX3191D_DRIVER_NAME, 45 45 .name = "Domex DMX3191D",