mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-09 23:00:21 +00:00
scsi: mesh: 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-53-bvanassche@acm.org Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
264e222b00
commit
0fabb7fbad
@ -1830,7 +1830,7 @@ static int mesh_shutdown(struct macio_dev *mdev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct scsi_host_template mesh_template = {
|
||||
static const struct scsi_host_template mesh_template = {
|
||||
.proc_name = "mesh",
|
||||
.name = "MESH",
|
||||
.queuecommand = mesh_queue,
|
||||
|
Loading…
x
Reference in New Issue
Block a user