diff options
author | Oza Pawandeep <poza@codeaurora.org> | 2018-05-17 23:44:16 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2018-05-17 23:49:30 +0200 |
commit | f252d0621a1102a66aa833f09531a3baec261288 (patch) | |
tree | 04ea89c4aeef5eb8d5c59605bd5ace1b75605ad5 /drivers/pci/pcie/portdrv.h | |
parent | PCI/AER: Factor out error reporting to drivers/pci/pcie/err.c (diff) | |
download | linux-f252d0621a1102a66aa833f09531a3baec261288.tar.xz linux-f252d0621a1102a66aa833f09531a3baec261288.zip |
PCI/portdrv: Add generic pcie_port_find_service()
Add generic pcie_port_find_service() routine.
Signed-off-by: Oza Pawandeep <poza@codeaurora.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Diffstat (limited to 'drivers/pci/pcie/portdrv.h')
-rw-r--r-- | drivers/pci/pcie/portdrv.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pci/pcie/portdrv.h b/drivers/pci/pcie/portdrv.h index 47c982451585..ba6c9636fd9f 100644 --- a/drivers/pci/pcie/portdrv.h +++ b/drivers/pci/pcie/portdrv.h @@ -112,5 +112,6 @@ static inline bool pcie_pme_no_msi(void) { return false; } static inline void pcie_pme_interrupt_enable(struct pci_dev *dev, bool en) {} #endif /* !CONFIG_PCIE_PME */ -struct pcie_port_service_driver *find_aer_service(struct pci_dev *dev); +struct pcie_port_service_driver *pcie_port_find_service(struct pci_dev *dev, + u32 service); #endif /* _PORTDRV_H_ */ |