diff options
author | Bart Van Assche <bvanassche@acm.org> | 2023-03-22 20:54:22 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-03-25 00:19:21 +0100 |
commit | 644d8d77eee5814c056c54e9f005e4fcb7f2f53c (patch) | |
tree | e2bd2cc961b1b3e4afa331e2a51a060f9918194c | |
parent | scsi: eesox: Declare SCSI host template const (diff) | |
download | linux-644d8d77eee5814c056c54e9f005e4fcb7f2f53c.tar.xz linux-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 '')
-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, |