mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 13:53:33 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -878,7 +878,7 @@ static int wd719x_board_found(struct Scsi_Host *sh)
|
||||||
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…
Reference in a new issue