mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 00:04:15 +08:00
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>
This commit is contained in:
parent
8e2ab8cda5
commit
f2e2fe3dec
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user