aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2023-03-22 12:55:00 -0700
committerMartin K. Petersen <[email protected]>2023-03-24 19:19:58 -0400
commit4fe61364e7d1b0e74f0b49b5a0d6dd8130e71c53 (patch)
tree96bee061d5bde2b7ac156bb978a1ddf6e0243c8c
parentd23901a8d700dac17a72a405af497eb095b7a31e (diff)
scsi: ps3rom: Declare SCSI host template const
Make it explicit that the SCSI host template is not modified. Tested-by: Geoff Levand <[email protected]> Signed-off-by: Bart Van Assche <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
-rw-r--r--drivers/scsi/ps3rom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ps3rom.c b/drivers/scsi/ps3rom.c
index 2b80cab70333..90495a832f34 100644
--- a/drivers/scsi/ps3rom.c
+++ b/drivers/scsi/ps3rom.c
@@ -323,7 +323,7 @@ done:
return IRQ_HANDLED;
}
-static struct scsi_host_template ps3rom_host_template = {
+static const struct scsi_host_template ps3rom_host_template = {
.name = DEVICE_NAME,
.slave_configure = ps3rom_slave_configure,
.queuecommand = ps3rom_queuecommand,