summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2024-01-15 12:10:40 -0600
committerBjorn Helgaas <bhelgaas@google.com>2024-01-15 12:10:40 -0600
commitd43e4239f09c4d8b4b24d416d602dfaf9a0e502d (patch)
treedef0d3b45b19aaafedebe813b22e97389c30531d /include
parentdc14155d46b58d8bb6e68970b3314118b79497b7 (diff)
parent6f517e044096fd78fa6f19b3da20579426980af7 (diff)
downloadlwn-d43e4239f09c4d8b4b24d416d602dfaf9a0e502d.tar.gz
lwn-d43e4239f09c4d8b4b24d416d602dfaf9a0e502d.zip
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 'include')
-rw-r--r--include/linux/pci-epf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/pci-epf.h b/include/linux/pci-epf.h
index 3f44b6aec477..764dc62b3acc 100644
--- a/include/linux/pci-epf.h
+++ b/include/linux/pci-epf.h
@@ -98,7 +98,7 @@ struct pci_epf_driver {
void (*remove)(struct pci_epf *epf);
struct device_driver driver;
- struct pci_epf_ops *ops;
+ const struct pci_epf_ops *ops;
struct module *owner;
struct list_head epf_group;
const struct pci_epf_device_id *id_table;