diff options
author | Bart Van Assche <bvanassche@acm.org> | 2023-03-22 12:54:31 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-03-24 19:19:22 -0400 |
commit | bf3614bd7e8a3727d29b01e76596daa7c40f5be0 (patch) | |
tree | 168dc68d28dc8d8b83ee81ee068b81a8e59301b2 /drivers | |
parent | d15515f918010464e4c6e225f678926f9ab173fd (diff) | |
download | linux-stable-bf3614bd7e8a3727d29b01e76596daa7c40f5be0.tar.gz linux-stable-bf3614bd7e8a3727d29b01e76596daa7c40f5be0.tar.bz2 linux-stable-bf3614bd7e8a3727d29b01e76596daa7c40f5be0.zip |
scsi: fnic: Declare host template const
Make it explicit that the SCSI host template is not modified.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20230322195515.1267197-37-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/fnic/fnic_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/fnic/fnic_main.c b/drivers/scsi/fnic/fnic_main.c index 1077110ab273..984bc5fc55e2 100644 --- a/drivers/scsi/fnic/fnic_main.c +++ b/drivers/scsi/fnic/fnic_main.c @@ -95,7 +95,7 @@ static int fnic_slave_alloc(struct scsi_device *sdev) return 0; } -static struct scsi_host_template fnic_host_template = { +static const struct scsi_host_template fnic_host_template = { .module = THIS_MODULE, .name = DRV_NAME, .queuecommand = fnic_queuecommand, |