diff options
author | Bart Van Assche <bvanassche@acm.org> | 2023-03-22 20:55:03 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-03-25 00:19:59 +0100 |
commit | 7c7a1419179a80f46d7dce76f65563db6b5d73d7 (patch) | |
tree | fa4cd74a8dde97ecc8df70307ea8e4b6c5ebbd3a /drivers/scsi/qlogicpti.c | |
parent | scsi: qla2xxx: Declare SCSI host template const (diff) | |
download | linux-7c7a1419179a80f46d7dce76f65563db6b5d73d7.tar.xz linux-7c7a1419179a80f46d7dce76f65563db6b5d73d7.zip |
scsi: qlogicpti: 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-69-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/qlogicpti.c')
-rw-r--r-- | drivers/scsi/qlogicpti.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qlogicpti.c b/drivers/scsi/qlogicpti.c index 8c961ff03fcd..6fa8c78c3116 100644 --- a/drivers/scsi/qlogicpti.c +++ b/drivers/scsi/qlogicpti.c @@ -1287,7 +1287,7 @@ static int qlogicpti_reset(struct scsi_cmnd *Cmnd) return return_status; } -static struct scsi_host_template qpti_template = { +static const struct scsi_host_template qpti_template = { .module = THIS_MODULE, .name = "qlogicpti", .info = qlogicpti_info, |