aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pci-epf.h
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2021-02-02 01:27:57 +0530
committerBjorn Helgaas <bhelgaas@google.com>2021-02-23 14:10:46 -0600
commit7e5a51ebb321537c4209cdd0c54c4c19b3ef960d (patch)
treed867f291753e0adc80eb00cc1addbaf086a93b6e /include/linux/pci-epf.h
parentPCI: endpoint: Make *_free_bar() to return error codes on failure (diff)
downloadlinux-dev-7e5a51ebb321537c4209cdd0c54c4c19b3ef960d.tar.xz
linux-dev-7e5a51ebb321537c4209cdd0c54c4c19b3ef960d.zip
PCI: endpoint: Remove unused pci_epf_match_device()
Remove unused pci_epf_match_device() function added in pci-epf-core.c Link: https://lore.kernel.org/r/20210201195809.7342-6-kishon@ti.com Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'include/linux/pci-epf.h')
-rw-r--r--include/linux/pci-epf.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/pci-epf.h b/include/linux/pci-epf.h
index fa3aca43eb19..f373a134ac04 100644
--- a/include/linux/pci-epf.h
+++ b/include/linux/pci-epf.h
@@ -165,8 +165,6 @@ static inline void *epf_get_drvdata(struct pci_epf *epf)
return dev_get_drvdata(&epf->dev);
}
-const struct pci_epf_device_id *
-pci_epf_match_device(const struct pci_epf_device_id *id, struct pci_epf *epf);
struct pci_epf *pci_epf_create(const char *name);
void pci_epf_destroy(struct pci_epf *epf);
int __pci_epf_register_driver(struct pci_epf_driver *driver,