summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2023-03-22 12:55:07 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2023-03-24 19:19:59 -0400
commit08d6075192d10a9a54ba2155b5f68a923dbce131 (patch)
tree6652cef225b7872cb60ae598821738dc873afc71 /drivers
parent8fb5b37e070e3c5434be816937cadf06873bcbe1 (diff)
downloadlinux-stable-08d6075192d10a9a54ba2155b5f68a923dbce131.tar.gz
linux-stable-08d6075192d10a9a54ba2155b5f68a923dbce131.tar.bz2
linux-stable-08d6075192d10a9a54ba2155b5f68a923dbce131.zip
scsi: stex: 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-73-bvanassche@acm.org Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/stex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/stex.c b/drivers/scsi/stex.c
index 8def242675ef..5b230e149c3d 100644
--- a/drivers/scsi/stex.c
+++ b/drivers/scsi/stex.c
@@ -1472,7 +1472,7 @@ static int stex_biosparam(struct scsi_device *sdev,
return 0;
}
-static struct scsi_host_template driver_template = {
+static const struct scsi_host_template driver_template = {
.module = THIS_MODULE,
.name = DRV_NAME,
.proc_name = DRV_NAME,