projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83e479e
)
scsi: a100u2w: Declare SCSI host template const
author
Bart Van Assche
<bvanassche@acm.org>
Wed, 22 Mar 2023 19:54:08 +0000
(12:54 -0700)
committer
Martin K. Petersen
<martin.petersen@oracle.com>
Fri, 24 Mar 2023 23:19:20 +0000
(19:19 -0400)
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>
drivers/scsi/a100u2w.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/a100u2w.c
b/drivers/scsi/a100u2w.c
index
d02eb5b
..
b95147f
100644
(file)
--- 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,