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:
parent
80602aca4f
commit
5e328664ed
@ -392,7 +392,7 @@ static void set_dma_cmds(struct fsc_state *state, struct scsi_cmnd *cmd)
|
||||
mac53c94_priv(cmd)->this_residual = total;
|
||||
}
|
||||
|
||||
static struct scsi_host_template mac53c94_template = {
|
||||
static const struct scsi_host_template mac53c94_template = {
|
||||
.proc_name = "53c94",
|
||||
.name = "53C94",
|
||||
.queuecommand = mac53c94_queue,
|
||||
|
Loading…
x
Reference in New Issue
Block a user