Commit 5e328664 authored by Bart Van Assche's avatar Bart Van Assche Committed by Martin K. Petersen

scsi: mac53c94: Declare SCSI host template const

Make it explicit that the SCSI host template is not modified.
Signed-off-by: default avatarBart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20230322195515.1267197-51-bvanassche@acm.orgSigned-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 80602aca
...@@ -392,7 +392,7 @@ static void set_dma_cmds(struct fsc_state *state, struct scsi_cmnd *cmd) ...@@ -392,7 +392,7 @@ static void set_dma_cmds(struct fsc_state *state, struct scsi_cmnd *cmd)
mac53c94_priv(cmd)->this_residual = total; mac53c94_priv(cmd)->this_residual = total;
} }
static struct scsi_host_template mac53c94_template = { static const struct scsi_host_template mac53c94_template = {
.proc_name = "53c94", .proc_name = "53c94",
.name = "53C94", .name = "53C94",
.queuecommand = mac53c94_queue, .queuecommand = mac53c94_queue,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment