diff options
author | Bart Van Assche <bvanassche@acm.org> | 2023-03-22 20:54:11 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-03-25 00:19:20 +0100 |
commit | 0cd7324b9e9debe33a77952733e749c92ffa20c3 (patch) | |
tree | 5f5ed0da780b7b173330f20fcf7d1a4ad443dfe5 /drivers/scsi/aacraid | |
parent | scsi: a3000: Declare SCSI host template const (diff) | |
download | linux-0cd7324b9e9debe33a77952733e749c92ffa20c3.tar.xz linux-0cd7324b9e9debe33a77952733e749c92ffa20c3.zip |
scsi: aacraid: 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-17-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/aacraid')
-rw-r--r-- | drivers/scsi/aacraid/linit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/aacraid/linit.c b/drivers/scsi/aacraid/linit.c index 5ba5c18b77b4..d0c1f024592c 100644 --- a/drivers/scsi/aacraid/linit.c +++ b/drivers/scsi/aacraid/linit.c @@ -1476,7 +1476,7 @@ static const struct file_operations aac_cfg_fops = { .llseek = noop_llseek, }; -static struct scsi_host_template aac_driver_template = { +static const struct scsi_host_template aac_driver_template = { .module = THIS_MODULE, .name = "AAC", .proc_name = AAC_DRIVERNAME, |