summaryrefslogtreecommitdiff
path: root/include/linux/pci-epc.h
diff options
context:
space:
mode:
authorVidya Sagar <vidyas@nvidia.com>2020-02-17 15:10:34 +0300
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2020-02-25 15:02:25 +0300
commit0ef22dcf0c1871888c4c0ee46a9d9c494f2fe997 (patch)
treea0cec71ecfb917bda530995a4ac16d6f87be4315 /include/linux/pci-epc.h
parente966f7390da935e2b5aa0b2248d2d1265f937369 (diff)
downloadlinux-0ef22dcf0c1871888c4c0ee46a9d9c494f2fe997.tar.xz
PCI: endpoint: Add notification for core init completion
Add support to send notifications to EPF from EPC once the core registers initialization is complete. Signed-off-by: Vidya Sagar <vidyas@nvidia.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Acked-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'include/linux/pci-epc.h')
-rw-r--r--include/linux/pci-epc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pci-epc.h b/include/linux/pci-epc.h
index 9ffe6bd081ae..0d7e91bad91e 100644
--- a/include/linux/pci-epc.h
+++ b/include/linux/pci-epc.h
@@ -165,6 +165,7 @@ void devm_pci_epc_destroy(struct device *dev, struct pci_epc *epc);
void pci_epc_destroy(struct pci_epc *epc);
int pci_epc_add_epf(struct pci_epc *epc, struct pci_epf *epf);
void pci_epc_linkup(struct pci_epc *epc);
+void pci_epc_init_notify(struct pci_epc *epc);
void pci_epc_remove_epf(struct pci_epc *epc, struct pci_epf *epf);
int pci_epc_write_header(struct pci_epc *epc, u8 func_no,
struct pci_epf_header *hdr);