diff options
author | Bart Van Assche <bvanassche@acm.org> | 2023-03-22 12:54:42 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-03-24 19:19:57 -0400 |
commit | 4ea4394e7120f3b7d2ab3409e1e8de5da999dd73 (patch) | |
tree | 0e9e3fb8ab1de26222ef267d6cf65873d5a5dd72 /drivers | |
parent | 4ba116af0fd3f665ba6f855c0cd7e2b6a4b6b5e7 (diff) | |
download | linux-stable-4ea4394e7120f3b7d2ab3409e1e8de5da999dd73.tar.gz linux-stable-4ea4394e7120f3b7d2ab3409e1e8de5da999dd73.tar.bz2 linux-stable-4ea4394e7120f3b7d2ab3409e1e8de5da999dd73.zip |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/ipr.c | 2 |
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, |