Skip to content

Commit f2e2fe3

Browse files
bvanasschemartinkpetersen
authored andcommitted
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>
1 parent 8e2ab8c commit f2e2fe3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/ufs/core/ufshcd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8721,7 +8721,7 @@ static struct ufs_hba_variant_params ufs_hba_vps = {
87218721
.ondemand_data.downdifferential = 5,
87228722
};
87238723

8724-
static struct scsi_host_template ufshcd_driver_template = {
8724+
static const struct scsi_host_template ufshcd_driver_template = {
87258725
.module = THIS_MODULE,
87268726
.name = UFSHCD,
87278727
.proc_name = UFSHCD,

0 commit comments

Comments
 (0)