diff options
author | Bart Van Assche <bvanassche@acm.org> | 2023-03-22 12:54:46 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-03-24 19:19:57 -0400 |
commit | 264e222b004cbf2950e60a873ab15339399a1b0d (patch) | |
tree | 681ec228043d63cb193ddb41ede714434dbb66e6 /drivers/scsi/megaraid/megaraid_mbox.c | |
parent | 5e328664ed0b6388b317dd47f5381ec13fe8b557 (diff) | |
download | linux-264e222b004cbf2950e60a873ab15339399a1b0d.tar.gz linux-264e222b004cbf2950e60a873ab15339399a1b0d.tar.bz2 linux-264e222b004cbf2950e60a873ab15339399a1b0d.zip |
scsi: megaraid: 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-52-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/megaraid/megaraid_mbox.c')
-rw-r--r-- | drivers/scsi/megaraid/megaraid_mbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/megaraid/megaraid_mbox.c b/drivers/scsi/megaraid/megaraid_mbox.c index 132de68c14e9..ef2b6380e19a 100644 --- a/drivers/scsi/megaraid/megaraid_mbox.c +++ b/drivers/scsi/megaraid/megaraid_mbox.c @@ -325,7 +325,7 @@ ATTRIBUTE_GROUPS(megaraid_sdev); /* * Scsi host template for megaraid unified driver */ -static struct scsi_host_template megaraid_template_g = { +static const struct scsi_host_template megaraid_template_g = { .module = THIS_MODULE, .name = "LSI Logic MegaRAID driver", .proc_name = "megaraid", |