scsi: mac53c94: 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-51-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
Bart Van Assche 2023-03-22 12:54:45 -07:00 committed by Martin K. Petersen
parent 80602aca4f
commit 5e328664ed

View file

@ -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,