mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2024-12-28 16:53:49 +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
@ -878,7 +878,7 @@ static int wd719x_board_found(struct Scsi_Host *sh)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static struct scsi_host_template wd719x_template = {
|
||||
static const struct scsi_host_template wd719x_template = {
|
||||
.module = THIS_MODULE,
|
||||
.name = "Western Digital 719x",
|
||||
.cmd_size = sizeof(struct wd719x_scb),
|
||||
|
Loading…
Reference in New Issue
Block a user