summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mvsas
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2023-03-22 20:54:51 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2023-03-25 00:19:57 +0100
commitf01feece6b64c0931c5e5cc7aee6d880ef6ce840 (patch)
treeb307fe320f39b9b42c2a949ce6b03433c97a0d96 /drivers/scsi/mvsas
parentscsi: mvme147: Declare SCSI host template const (diff)
downloadlinux-f01feece6b64c0931c5e5cc7aee6d880ef6ce840.tar.xz
linux-f01feece6b64c0931c5e5cc7aee6d880ef6ce840.zip
scsi: mvsas: Declare SCSI host template const
Make it explicit that the SCSI host template is not modified. Reviewed-by: John Garry <john.g.garry@oracle.com> Signed-off-by: Bart Van Assche <bvanassche@acm.org> Link: https://lore.kernel.org/r/20230322195515.1267197-57-bvanassche@acm.org Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/mvsas')
-rw-r--r--drivers/scsi/mvsas/mv_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/mvsas/mv_init.c b/drivers/scsi/mvsas/mv_init.c
index cfe84473a515..49e2a5e7ce54 100644
--- a/drivers/scsi/mvsas/mv_init.c
+++ b/drivers/scsi/mvsas/mv_init.c
@@ -29,7 +29,7 @@ static const struct attribute_group *mvst_host_groups[];
#define SOC_SAS_NUM 2
-static struct scsi_host_template mvs_sht = {
+static const struct scsi_host_template mvs_sht = {
.module = THIS_MODULE,
.name = DRV_NAME,
.queuecommand = sas_queuecommand,