scsi: aacraid: 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-17-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:54:11 -07:00
committed by Martin K. Petersen
parent 88530b3ea9
commit 0cd7324b9e

View File

@@ -1476,7 +1476,7 @@ static const struct file_operations aac_cfg_fops = {
.llseek = noop_llseek,
};
static struct scsi_host_template aac_driver_template = {
static const struct scsi_host_template aac_driver_template = {
.module = THIS_MODULE,
.name = "AAC",
.proc_name = AAC_DRIVERNAME,