diff options
author | Bart Van Assche <bvanassche@acm.org> | 2023-03-22 20:54:51 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-03-25 00:19:57 +0100 |
commit | f01feece6b64c0931c5e5cc7aee6d880ef6ce840 (patch) | |
tree | b307fe320f39b9b42c2a949ce6b03433c97a0d96 /drivers/scsi/mvsas | |
parent | scsi: mvme147: Declare SCSI host template const (diff) | |
download | linux-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.c | 2 |
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, |