mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 04:18:39 +08: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 @@ fail_free_params:
|
||||
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