diff options
author | Bart Van Assche <bvanassche@acm.org> | 2023-03-22 12:54:08 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-03-24 19:19:20 -0400 |
commit | 157fc774cc785e350a992859ecfa99581422775e (patch) | |
tree | 05ab71cc1196377284193822a790ea55901733fe | |
parent | 83e479e12bfc79c7c465a47912b66298c2d7da0b (diff) | |
download | lwn-157fc774cc785e350a992859ecfa99581422775e.tar.gz lwn-157fc774cc785e350a992859ecfa99581422775e.zip |
scsi: a100u2w: 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-14-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
-rw-r--r-- | drivers/scsi/a100u2w.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/a100u2w.c b/drivers/scsi/a100u2w.c index d02eb5b213d0..b95147fb18b0 100644 --- a/drivers/scsi/a100u2w.c +++ b/drivers/scsi/a100u2w.c @@ -1065,7 +1065,7 @@ static irqreturn_t inia100_intr(int irqno, void *devid) return res; } -static struct scsi_host_template inia100_template = { +static const struct scsi_host_template inia100_template = { .proc_name = "inia100", .name = inia100_REVID, .queuecommand = inia100_queue, |