scsi: qla1280: 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-67-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
Bart Van Assche 2023-03-22 12:55:01 -07:00 committed by Martin K. Petersen
parent 4fe61364e7
commit 796e8f8082

View file

@ -4115,7 +4115,7 @@ qla1280_get_token(char *str)
}
static struct scsi_host_template qla1280_driver_template = {
static const struct scsi_host_template qla1280_driver_template = {
.module = THIS_MODULE,
.proc_name = "qla1280",
.name = "Qlogic ISP 1280/12160",