From: Bart Van Assche Date: Wed, 22 Mar 2023 19:54:43 +0000 (-0700) Subject: scsi: isci: Declare SCSI host template const X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=eb60d17a0e4a239b9834d3542f0d3724a242eb76;p=linux.git scsi: isci: Declare SCSI host template const Make it explicit that the ISCI host template is not modified. Signed-off-by: Bart Van Assche Link: https://lore.kernel.org/r/20230322195515.1267197-49-bvanassche@acm.org Signed-off-by: Martin K. Petersen --- diff --git a/drivers/scsi/isci/init.c b/drivers/scsi/isci/init.c index e294d5d961eb1..ac1e04b86d8fe 100644 --- a/drivers/scsi/isci/init.c +++ b/drivers/scsi/isci/init.c @@ -149,7 +149,7 @@ static struct attribute *isci_host_attrs[] = { ATTRIBUTE_GROUPS(isci_host); -static struct scsi_host_template isci_sht = { +static const struct scsi_host_template isci_sht = { .module = THIS_MODULE, .name = DRV_NAME,