diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2024-01-15 21:10:40 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2024-01-15 21:10:40 +0300 |
commit | d43e4239f09c4d8b4b24d416d602dfaf9a0e502d (patch) | |
tree | def0d3b45b19aaafedebe813b22e97389c30531d /drivers/pci/endpoint/functions/pci-epf-vntb.c | |
parent | dc14155d46b58d8bb6e68970b3314118b79497b7 (diff) | |
parent | 6f517e044096fd78fa6f19b3da20579426980af7 (diff) | |
download | linux-d43e4239f09c4d8b4b24d416d602dfaf9a0e502d.tar.xz |
Merge branch 'pci/endpoint'
- Make struct pci_epc_event_ops and struct pci_epf_ops instances const
(Lars-Peter Clausen)
* pci/endpoint:
PCI: endpoint: pci-epf-test: Make struct pci_epf_ops const
PCI: endpoint: pci-epf-vntb: Make struct pci_epf_ops const
PCI: endpoint: pci-epf-ntb: Make struct pci_epf_ops const
PCI: endpoint: pci-epf-mhi: Make structs pci_epf_ops and pci_epf_event_ops const
PCI: endpoint: Make struct pci_epf_ops in pci_epf_driver const
Diffstat (limited to 'drivers/pci/endpoint/functions/pci-epf-vntb.c')
-rw-r--r-- | drivers/pci/endpoint/functions/pci-epf-vntb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/endpoint/functions/pci-epf-vntb.c b/drivers/pci/endpoint/functions/pci-epf-vntb.c index e6a0bcc177e4..e75a2af77328 100644 --- a/drivers/pci/endpoint/functions/pci-epf-vntb.c +++ b/drivers/pci/endpoint/functions/pci-epf-vntb.c @@ -1384,7 +1384,7 @@ static void epf_ntb_unbind(struct pci_epf *epf) } // EPF driver probe -static struct pci_epf_ops epf_ntb_ops = { +static const struct pci_epf_ops epf_ntb_ops = { .bind = epf_ntb_bind, .unbind = epf_ntb_unbind, .add_cfs = epf_ntb_add_cfs, |