Commit 83e479e1 authored by Bart Van Assche's avatar Bart Van Assche Committed by Martin K. Petersen

scsi: BusLogic: Declare SCSI host template const

Make it explicit that the SCSI host template is not modified.
Acked-by: default avatarKhalid Aziz <khalid@gonehiking.org>
Signed-off-by: default avatarBart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20230322195515.1267197-13-bvanassche@acm.orgSigned-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent ca1b0e01
......@@ -54,7 +54,7 @@
#define FAILURE (-1)
#endif
static struct scsi_host_template blogic_template;
static const struct scsi_host_template blogic_template;
/*
blogic_drvr_options_count is a count of the number of BusLogic Driver
......@@ -3663,7 +3663,7 @@ static int __init blogic_parseopts(char *options)
Get it all started
*/
static struct scsi_host_template blogic_template = {
static const struct scsi_host_template blogic_template = {
.module = THIS_MODULE,
.proc_name = "BusLogic",
.write_info = blogic_write_info,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment