From: Bart Van Assche Date: Wed, 22 Mar 2023 19:54:11 +0000 (-0700) Subject: scsi: aacraid: Declare SCSI host template const X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=0cd7324b9e9debe33a77952733e749c92ffa20c3;p=linux.git scsi: aacraid: Declare SCSI host template const Make it explicit that the SCSI host template is not modified. Signed-off-by: Bart Van Assche Link: https://lore.kernel.org/r/20230322195515.1267197-17-bvanassche@acm.org Signed-off-by: Martin K. Petersen --- diff --git a/drivers/scsi/aacraid/linit.c b/drivers/scsi/aacraid/linit.c index 5ba5c18b77b46..d0c1f024592ce 100644 --- a/drivers/scsi/aacraid/linit.c +++ b/drivers/scsi/aacraid/linit.c @@ -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,