diff options
author | Bart Van Assche <[email protected]> | 2023-03-22 12:54:51 -0700 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2023-03-24 19:19:57 -0400 |
commit | f01feece6b64c0931c5e5cc7aee6d880ef6ce840 (patch) | |
tree | b307fe320f39b9b42c2a949ce6b03433c97a0d96 | |
parent | c9ac4e73b373cdc4fe70356ac97aff5c8d7d8be2 (diff) |
scsi: mvsas: Declare SCSI host template const
Make it explicit that the SCSI host template is not modified.
Reviewed-by: John Garry <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin K. Petersen <[email protected]>
-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, |