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

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

authored by

Bart Van Assche and committed by
Martin K. Petersen
a5b78e81 273ab251

+1 -1
+1 -1
drivers/scsi/wd719x.c
··· 878 878 return ret; 879 879 } 880 880 881 - static struct scsi_host_template wd719x_template = { 881 + static const struct scsi_host_template wd719x_template = { 882 882 .module = THIS_MODULE, 883 883 .name = "Western Digital 719x", 884 884 .cmd_size = sizeof(struct wd719x_scb),