diff options
author | Bart Van Assche <bvanassche@acm.org> | 2023-03-22 12:54:17 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-03-24 19:19:21 -0400 |
commit | 5d94e575a1f1df4036fe41af5cca89b60a3c63bb (patch) | |
tree | 612113a7748abb26f7f889501f73faab7b2685f3 /drivers/scsi/arm | |
parent | 34f5d2dc00381df593bf57b7787d136522e18b77 (diff) | |
download | linux-5d94e575a1f1df4036fe41af5cca89b60a3c63bb.tar.gz linux-5d94e575a1f1df4036fe41af5cca89b60a3c63bb.tar.bz2 linux-5d94e575a1f1df4036fe41af5cca89b60a3c63bb.zip |
scsi: acornscsi: 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-23-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/arm')
-rw-r--r-- | drivers/scsi/arm/acornscsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/arm/acornscsi.c b/drivers/scsi/arm/acornscsi.c index 7602639da9b3..0b046e4b395c 100644 --- a/drivers/scsi/arm/acornscsi.c +++ b/drivers/scsi/arm/acornscsi.c @@ -2780,7 +2780,7 @@ static int acornscsi_show_info(struct seq_file *m, struct Scsi_Host *instance) return 0; } -static struct scsi_host_template acornscsi_template = { +static const struct scsi_host_template acornscsi_template = { .module = THIS_MODULE, .show_info = acornscsi_show_info, .name = "AcornSCSI", |