scsi: hpsa: 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-43-bvanassche@acm.org Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
e8c0ced993
commit
207761bf1a
@ -967,7 +967,7 @@ ATTRIBUTE_GROUPS(hpsa_shost);
|
||||
#define HPSA_NRESERVED_CMDS (HPSA_CMDS_RESERVED_FOR_DRIVER +\
|
||||
HPSA_MAX_CONCURRENT_PASSTHRUS)
|
||||
|
||||
static struct scsi_host_template hpsa_driver_template = {
|
||||
static const struct scsi_host_template hpsa_driver_template = {
|
||||
.module = THIS_MODULE,
|
||||
.name = HPSA,
|
||||
.proc_name = HPSA,
|
||||
|
Loading…
x
Reference in New Issue
Block a user