diff options
author | Bart Van Assche <bvanassche@acm.org> | 2023-03-22 22:54:54 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-03-25 02:19:58 +0300 |
commit | 914fa37a8a549efe4c1db3091ba907225cff9de8 (patch) | |
tree | 2673d42ed1d2d74624275b4c27efdcaa5797d204 /drivers/scsi/myrs.c | |
parent | 8e64d59d1f1c96c3fdd5d16918dc24f42dab04f0 (diff) | |
download | linux-914fa37a8a549efe4c1db3091ba907225cff9de8.tar.xz |
scsi: myrs: 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-60-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/myrs.c')
-rw-r--r-- | drivers/scsi/myrs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/myrs.c b/drivers/scsi/myrs.c index 7eb8c39da366..a1eec65a9713 100644 --- a/drivers/scsi/myrs.c +++ b/drivers/scsi/myrs.c @@ -1915,7 +1915,7 @@ static void myrs_slave_destroy(struct scsi_device *sdev) kfree(sdev->hostdata); } -static struct scsi_host_template myrs_template = { +static const struct scsi_host_template myrs_template = { .module = THIS_MODULE, .name = "DAC960", .proc_name = "myrs", |