diff options
author | Bart Van Assche <bvanassche@acm.org> | 2023-03-22 20:54:43 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-03-25 00:19:57 +0100 |
commit | eb60d17a0e4a239b9834d3542f0d3724a242eb76 (patch) | |
tree | 5e00087c4834aa6459763ceeca765cde4053f272 /drivers/scsi/isci | |
parent | scsi: ipr: Declare SCSI host template const (diff) | |
download | linux-eb60d17a0e4a239b9834d3542f0d3724a242eb76.tar.xz linux-eb60d17a0e4a239b9834d3542f0d3724a242eb76.zip |
scsi: isci: Declare SCSI host template const
Make it explicit that the ISCI host template is not modified.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20230322195515.1267197-49-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/isci')
-rw-r--r-- | drivers/scsi/isci/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/isci/init.c b/drivers/scsi/isci/init.c index e294d5d961eb..ac1e04b86d8f 100644 --- a/drivers/scsi/isci/init.c +++ b/drivers/scsi/isci/init.c @@ -149,7 +149,7 @@ static struct attribute *isci_host_attrs[] = { ATTRIBUTE_GROUPS(isci_host); -static struct scsi_host_template isci_sht = { +static const struct scsi_host_template isci_sht = { .module = THIS_MODULE, .name = DRV_NAME, |