diff options
author | Bart Van Assche <bvanassche@acm.org> | 2023-03-22 12:54:39 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-03-24 19:19:56 -0400 |
commit | 7bced3fc285a3f0791eb50bd1c9bbf4305804f50 (patch) | |
tree | 8f667a037e0dd4632b7482a260d35c4c9be365b1 /drivers/scsi/ibmvscsi/ibmvfc.c | |
parent | 9194970becd88b71f929ab5c843f4440cbb451bf (diff) | |
download | lwn-7bced3fc285a3f0791eb50bd1c9bbf4305804f50.tar.gz lwn-7bced3fc285a3f0791eb50bd1c9bbf4305804f50.zip |
scsi: ibmvfc: Declare SCSI host template const
Make it explicit that the SCSI host template is not modified.
Acked-by: Tyrel Datwyler <tyreld@linux.ibm.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20230322195515.1267197-45-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/ibmvscsi/ibmvfc.c')
-rw-r--r-- | drivers/scsi/ibmvscsi/ibmvfc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ibmvscsi/ibmvfc.c b/drivers/scsi/ibmvscsi/ibmvfc.c index 1a0c0b7289d2..ce9eb00e2ca0 100644 --- a/drivers/scsi/ibmvscsi/ibmvfc.c +++ b/drivers/scsi/ibmvscsi/ibmvfc.c @@ -3611,7 +3611,7 @@ static struct attribute *ibmvfc_host_attrs[] = { ATTRIBUTE_GROUPS(ibmvfc_host); -static struct scsi_host_template driver_template = { +static const struct scsi_host_template driver_template = { .module = THIS_MODULE, .name = "IBM POWER Virtual FC Adapter", .proc_name = IBMVFC_NAME, |