diff options
author | Bart Van Assche <bvanassche@acm.org> | 2023-03-22 12:54:02 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-03-24 19:19:19 -0400 |
commit | 95a24cf170ed1d2c21275bfa1f635fb7277eb7c6 (patch) | |
tree | d6ade8b1776e56a28f118d4748e3f6ceb629e6f0 /drivers/message/fusion/mptsas.c | |
parent | 4281af9d9f13dab7233f6d168d0be310bd305291 (diff) |
scsi: message: fusion: Declare SCSI host template members const
Make it explicit that the SCSI host templates are not modified.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20230322195515.1267197-8-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/message/fusion/mptsas.c')
-rw-r--r-- | drivers/message/fusion/mptsas.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/message/fusion/mptsas.c b/drivers/message/fusion/mptsas.c index 88fe4a860ae5..86f16f3ea478 100644 --- a/drivers/message/fusion/mptsas.c +++ b/drivers/message/fusion/mptsas.c @@ -1997,7 +1997,7 @@ done: } -static struct scsi_host_template mptsas_driver_template = { +static const struct scsi_host_template mptsas_driver_template = { .module = THIS_MODULE, .proc_name = "mptsas", .show_info = mptscsih_show_info, |