summaryrefslogtreecommitdiff
path: root/drivers/scsi/mpi3mr
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2023-03-22 22:54:48 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2023-03-25 02:19:57 +0300
commitb85f82f3c92a05cad2ae785de21299e52a22c63b (patch)
tree574f6057b842ea650b5db5ab26042da95d8830e8 /drivers/scsi/mpi3mr
parent0fabb7fbad553a06f3e1066a82ba5761b2e617b5 (diff)
downloadlinux-b85f82f3c92a05cad2ae785de21299e52a22c63b.tar.xz
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.c2
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,