summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2023-03-22 22:54:42 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2023-03-25 02:19:57 +0300
commit4ea4394e7120f3b7d2ab3409e1e8de5da999dd73 (patch)
tree0e9e3fb8ab1de26222ef267d6cf65873d5a5dd72
parent4ba116af0fd3f665ba6f855c0cd7e2b6a4b6b5e7 (diff)
downloadlinux-4ea4394e7120f3b7d2ab3409e1e8de5da999dd73.tar.xz
scsi: ipr: Declare SCSI host template const
Make it explicit that the SCSI host template is not modified. Acked-by: Brian King <brking@linux.vnet.ibm.com> Signed-off-by: Bart Van Assche <bvanassche@acm.org> Link: https://lore.kernel.org/r/20230322195515.1267197-48-bvanassche@acm.org Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
-rw-r--r--drivers/scsi/ipr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c
index c74053f0b72f..4d3c280a7360 100644
--- a/drivers/scsi/ipr.c
+++ b/drivers/scsi/ipr.c
@@ -6736,7 +6736,7 @@ static const char *ipr_ioa_info(struct Scsi_Host *host)
return buffer;
}
-static struct scsi_host_template driver_template = {
+static const struct scsi_host_template driver_template = {
.module = THIS_MODULE,
.name = "IPR",
.info = ipr_ioa_info,