scsi: wd719x: 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-76-bvanassche@acm.org Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
273ab25195
commit
a5b78e81c7
@ -878,7 +878,7 @@ fail_free_params:
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct scsi_host_template wd719x_template = {
|
static const struct scsi_host_template wd719x_template = {
|
||||||
.module = THIS_MODULE,
|
.module = THIS_MODULE,
|
||||||
.name = "Western Digital 719x",
|
.name = "Western Digital 719x",
|
||||||
.cmd_size = sizeof(struct wd719x_scb),
|
.cmd_size = sizeof(struct wd719x_scb),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user