projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e2ab8c
)
scsi: ufs: Declare SCSI host template const
author
Bart Van Assche
<bvanassche@acm.org>
Wed, 22 Mar 2023 19:55:14 +0000
(12:55 -0700)
committer
Martin K. Petersen
<martin.petersen@oracle.com>
Fri, 24 Mar 2023 23:20:00 +0000
(19:20 -0400)
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>
drivers/ufs/core/ufshcd.c
patch
|
blob
|
history
diff --git
a/drivers/ufs/core/ufshcd.c
b/drivers/ufs/core/ufshcd.c
index 172d25fef740d354a73f156acdbc37a1febb9b00..42f01af1e1b776a7e00576a696067e2e6ef783f7 100644
(file)
--- 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,