summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/pm8001
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2023-03-22 12:54:57 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2023-03-24 19:19:58 -0400
commit8fe69e4abdb5adaf8b2a060351086f005557de62 (patch)
tree2e96e000087ce98610f42a92ecf55f845e0d2f86 /drivers/scsi/pm8001
parent54aefe23a6c46d7194a98ece8d98fad08d5cbdb1 (diff)
downloadlinux-stable-8fe69e4abdb5adaf8b2a060351086f005557de62.tar.gz
linux-stable-8fe69e4abdb5adaf8b2a060351086f005557de62.tar.bz2
linux-stable-8fe69e4abdb5adaf8b2a060351086f005557de62.zip
scsi: pcmcia-pm8001: Declare SCSI host template const
Make it explicit that the SCSI host template is not modified. Acked-by: Jack Wang <jinpu.wang@ionos.com> Signed-off-by: Bart Van Assche <bvanassche@acm.org> Link: https://lore.kernel.org/r/20230322195515.1267197-63-bvanassche@acm.org Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/pm8001')
-rw-r--r--drivers/scsi/pm8001/pm8001_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/pm8001/pm8001_init.c b/drivers/scsi/pm8001/pm8001_init.c
index 7e589fe3e010..8b9490011e36 100644
--- a/drivers/scsi/pm8001/pm8001_init.c
+++ b/drivers/scsi/pm8001/pm8001_init.c
@@ -96,7 +96,7 @@ static void pm8001_map_queues(struct Scsi_Host *shost)
/*
* The main structure which LLDD must register for scsi core.
*/
-static struct scsi_host_template pm8001_sht = {
+static const struct scsi_host_template pm8001_sht = {
.module = THIS_MODULE,
.name = DRV_NAME,
.proc_name = DRV_NAME,