diff options
author | Bart Van Assche <bvanassche@acm.org> | 2023-03-22 12:54:48 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-03-24 19:19:57 -0400 |
commit | b85f82f3c92a05cad2ae785de21299e52a22c63b (patch) | |
tree | 574f6057b842ea650b5db5ab26042da95d8830e8 /drivers/scsi/mpi3mr | |
parent | 0fabb7fbad553a06f3e1066a82ba5761b2e617b5 (diff) | |
download | lwn-b85f82f3c92a05cad2ae785de21299e52a22c63b.tar.gz lwn-b85f82f3c92a05cad2ae785de21299e52a22c63b.zip |
scsi: mpi3mr: 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-54-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/mpi3mr')
-rw-r--r-- | drivers/scsi/mpi3mr/mpi3mr_os.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/mpi3mr/mpi3mr_os.c b/drivers/scsi/mpi3mr/mpi3mr_os.c index 6eaeba41072c..207a607d8997 100644 --- a/drivers/scsi/mpi3mr/mpi3mr_os.c +++ b/drivers/scsi/mpi3mr/mpi3mr_os.c @@ -4757,7 +4757,7 @@ out: return retval; } -static struct scsi_host_template mpi3mr_driver_template = { +static const struct scsi_host_template mpi3mr_driver_template = { .module = THIS_MODULE, .name = "MPI3 Storage Controller", .proc_name = MPI3MR_DRIVER_NAME, |