diff options
author | Bart Van Assche <bvanassche@acm.org> | 2023-03-22 12:54:22 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-03-24 19:19:21 -0400 |
commit | 644d8d77eee5814c056c54e9f005e4fcb7f2f53c (patch) | |
tree | e2bd2cc961b1b3e4afa331e2a51a060f9918194c /drivers | |
parent | 13c2e9647198a10266a52a14f76e492d3cfe8838 (diff) | |
download | linux-stable-644d8d77eee5814c056c54e9f005e4fcb7f2f53c.tar.gz linux-stable-644d8d77eee5814c056c54e9f005e4fcb7f2f53c.tar.bz2 linux-stable-644d8d77eee5814c056c54e9f005e4fcb7f2f53c.zip |
scsi: oak: 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-28-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/arm/oak.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/arm/oak.c b/drivers/scsi/arm/oak.c index f18a0620c808..d69245007096 100644 --- a/drivers/scsi/arm/oak.c +++ b/drivers/scsi/arm/oak.c @@ -100,7 +100,7 @@ printk("reading %p len %d\n", addr, len); #include "../NCR5380.c" -static struct scsi_host_template oakscsi_template = { +static const struct scsi_host_template oakscsi_template = { .module = THIS_MODULE, .name = "Oak 16-bit SCSI", .info = oakscsi_info, |