summaryrefslogtreecommitdiff
path: root/drivers/scsi/wd719x.c
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2023-03-22 22:55:10 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2023-03-25 02:19:59 +0300
commita5b78e81c712c3eb3229cdc4fa559dea60f93cd8 (patch)
tree46cacb89f222b50e4aaf9936ce093dc40a7d603a /drivers/scsi/wd719x.c
parent273ab251950ffbffba3d831ef82731deb1260ea6 (diff)
downloadlinux-a5b78e81c712c3eb3229cdc4fa559dea60f93cd8.tar.xz
scsi: wd719x: 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-76-bvanassche@acm.org Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/wd719x.c')
-rw-r--r--drivers/scsi/wd719x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/wd719x.c b/drivers/scsi/wd719x.c
index ff1b22077251..5a380eecfc75 100644
--- a/drivers/scsi/wd719x.c
+++ b/drivers/scsi/wd719x.c
@@ -878,7 +878,7 @@ fail_free_params:
return ret;
}
-static struct scsi_host_template wd719x_template = {
+static const struct scsi_host_template wd719x_template = {
.module = THIS_MODULE,
.name = "Western Digital 719x",
.cmd_size = sizeof(struct wd719x_scb),