diff options
author | Bart Van Assche <bvanassche@acm.org> | 2023-03-22 12:54:47 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-03-24 19:19:57 -0400 |
commit | 0fabb7fbad553a06f3e1066a82ba5761b2e617b5 (patch) | |
tree | 39e6aae926dc02b011d88bf28f96b3595415f77e /drivers/scsi/mesh.c | |
parent | 264e222b004cbf2950e60a873ab15339399a1b0d (diff) | |
download | lwn-0fabb7fbad553a06f3e1066a82ba5761b2e617b5.tar.gz lwn-0fabb7fbad553a06f3e1066a82ba5761b2e617b5.zip |
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>
Diffstat (limited to 'drivers/scsi/mesh.c')
-rw-r--r-- | drivers/scsi/mesh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/mesh.c b/drivers/scsi/mesh.c index 84b541a57b7b..e276583c590c 100644 --- a/drivers/scsi/mesh.c +++ b/drivers/scsi/mesh.c @@ -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, |