summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/arm/arxescsi.c
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2023-03-22 20:54:18 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2023-03-25 00:19:21 +0100
commit116e5de74270b66c69fe86db514d87ffbba28b04 (patch)
treed2ac8a3948c4718915200c6e5863d8e86921f15d /drivers/scsi/arm/arxescsi.c
parentscsi: acornscsi: Declare SCSI host template const (diff)
downloadlinux-116e5de74270b66c69fe86db514d87ffbba28b04.tar.xz
linux-116e5de74270b66c69fe86db514d87ffbba28b04.zip
scsi: arxescsi: 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-24-bvanassche@acm.org Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/arm/arxescsi.c')
-rw-r--r--drivers/scsi/arm/arxescsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/arm/arxescsi.c b/drivers/scsi/arm/arxescsi.c
index 2527b542bcdd..925d0bd68aa5 100644
--- a/drivers/scsi/arm/arxescsi.c
+++ b/drivers/scsi/arm/arxescsi.c
@@ -238,7 +238,7 @@ arxescsi_show_info(struct seq_file *m, struct Scsi_Host *host)
return 0;
}
-static struct scsi_host_template arxescsi_template = {
+static const struct scsi_host_template arxescsi_template = {
.show_info = arxescsi_show_info,
.name = "ARXE SCSI card",
.info = arxescsi_info,