diff options
author | Bart Van Assche <bvanassche@acm.org> | 2023-03-22 12:54:33 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-03-24 19:19:22 -0400 |
commit | 8e6a87aa91624d5a07799491528b2bb7c7ae5628 (patch) | |
tree | 659e2ba7c16bd4597c5ae0c15d98ea3ff371b199 /drivers | |
parent | be8532d15342d3ee64c39512a6f162ffb313ffa2 (diff) | |
download | linux-stable-8e6a87aa91624d5a07799491528b2bb7c7ae5628.tar.gz linux-stable-8e6a87aa91624d5a07799491528b2bb7c7ae5628.tar.bz2 linux-stable-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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/fdomain.c | 2 |
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", |