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

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

authored by

Bart Van Assche and committed by
Martin K. Petersen
4df23b30 116e5de7

+1 -1
+1 -1
drivers/scsi/aha1740.c
··· 543 543 return SUCCESS; 544 544 } 545 545 546 - static struct scsi_host_template aha1740_template = { 546 + static const struct scsi_host_template aha1740_template = { 547 547 .module = THIS_MODULE, 548 548 .proc_name = "aha1740", 549 549 .show_info = aha1740_show_info,