summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2023-03-22 20:54:33 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2023-03-25 00:19:22 +0100
commit8e6a87aa91624d5a07799491528b2bb7c7ae5628 (patch)
tree659e2ba7c16bd4597c5ae0c15d98ea3ff371b199
parentscsi: qedf: Declare host template const (diff)
downloadlinux-8e6a87aa91624d5a07799491528b2bb7c7ae5628.tar.xz
linux-8e6a87aa91624d5a07799491528b2bb7c7ae5628.zip
scsi: fdomain: 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-39-bvanassche@acm.org Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
-rw-r--r--drivers/scsi/fdomain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/fdomain.c b/drivers/scsi/fdomain.c
index 444eac9b2466..504c4e0c5d17 100644
--- a/drivers/scsi/fdomain.c
+++ b/drivers/scsi/fdomain.c
@@ -496,7 +496,7 @@ static int fdomain_biosparam(struct scsi_device *sdev,
return 0;
}
-static struct scsi_host_template fdomain_template = {
+static const struct scsi_host_template fdomain_template = {
.module = THIS_MODULE,
.name = "Future Domain TMC-16x0",
.proc_name = "fdomain",