From: Bart Van Assche Date: Wed, 22 Mar 2023 19:54:42 +0000 (-0700) Subject: scsi: ipr: Declare SCSI host template const X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=4ea4394e7120f3b7d2ab3409e1e8de5da999dd73;p=linux.git scsi: ipr: Declare SCSI host template const Make it explicit that the SCSI host template is not modified. Acked-by: Brian King Signed-off-by: Bart Van Assche Link: https://lore.kernel.org/r/20230322195515.1267197-48-bvanassche@acm.org Signed-off-by: Martin K. Petersen --- diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c index c74053f0b72f4..4d3c280a7360c 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,