From: Bart Van Assche Date: Wed, 22 Mar 2023 19:54:17 +0000 (-0700) Subject: scsi: acornscsi: Declare SCSI host template const X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=5d94e575a1f1df4036fe41af5cca89b60a3c63bb;p=linux.git scsi: acornscsi: Declare SCSI host template const Make it explicit that the SCSI host template is not modified. Signed-off-by: Bart Van Assche Link: https://lore.kernel.org/r/20230322195515.1267197-23-bvanassche@acm.org Signed-off-by: Martin K. Petersen --- diff --git a/drivers/scsi/arm/acornscsi.c b/drivers/scsi/arm/acornscsi.c index 7602639da9b3b..0b046e4b395ce 100644 --- a/drivers/scsi/arm/acornscsi.c +++ b/drivers/scsi/arm/acornscsi.c @@ -2780,7 +2780,7 @@ static int acornscsi_show_info(struct seq_file *m, struct Scsi_Host *instance) return 0; } -static struct scsi_host_template acornscsi_template = { +static const struct scsi_host_template acornscsi_template = { .module = THIS_MODULE, .show_info = acornscsi_show_info, .name = "AcornSCSI",