From: Bart Van Assche Date: Wed, 22 Mar 2023 19:54:08 +0000 (-0700) Subject: scsi: a100u2w: Declare SCSI host template const X-Git-Tag: v6.4-rc1~12^2~32^2~67 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=157fc774cc785e350a992859ecfa99581422775e;p=linux-block.git scsi: a100u2w: Declare SCSI host template const Make it explicit that the SCSI host template is not modified. Signed-off-by: Bart Van Assche Link: https://lore.kernel.org/r/20230322195515.1267197-14-bvanassche@acm.org Signed-off-by: Martin K. Petersen --- 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,