summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2023-03-22 22:55:14 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2023-03-25 02:20:00 +0300
commitf2e2fe3dec7f44fea4c0cd66ca5abf5cd080407c (patch)
tree34491993e2ef6a325bb06a31ffc61fb01a432de5 /drivers
parent8e2ab8cda5aa70b4e6d406f158d69363cd8dfc4e (diff)
downloadlinux-f2e2fe3dec7f44fea4c0cd66ca5abf5cd080407c.tar.xz
scsi: ufs: 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-80-bvanassche@acm.org Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ufs/core/ufshcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ufs/core/ufshcd.c b/drivers/ufs/core/ufshcd.c
index 172d25fef740..42f01af1e1b7 100644
--- a/drivers/ufs/core/ufshcd.c
+++ b/drivers/ufs/core/ufshcd.c
@@ -8721,7 +8721,7 @@ static struct ufs_hba_variant_params ufs_hba_vps = {
.ondemand_data.downdifferential = 5,
};
-static struct scsi_host_template ufshcd_driver_template = {
+static const struct scsi_host_template ufshcd_driver_template = {
.module = THIS_MODULE,
.name = UFSHCD,
.proc_name = UFSHCD,