diff options
author | Oza Pawandeep <poza@codeaurora.org> | 2018-05-18 00:44:17 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2018-06-03 03:29:24 +0300 |
commit | e76d596aef0caa7296e42e29a0a81bc4155807df (patch) | |
tree | 0d5b2cf3543ff675bad410bf05a600ebc62fbf63 /drivers/pci/pcie/portdrv.h | |
parent | f252d0621a1102a66aa833f09531a3baec261288 (diff) | |
download | linux-e76d596aef0caa7296e42e29a0a81bc4155807df.tar.xz |
PCI/portdrv: Add generic pcie_port_find_device()
Add generic pcie_port_find_device() 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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/pcie/portdrv.h b/drivers/pci/pcie/portdrv.h index ba6c9636fd9f..d82401acb831 100644 --- a/drivers/pci/pcie/portdrv.h +++ b/drivers/pci/pcie/portdrv.h @@ -114,4 +114,5 @@ static inline void pcie_pme_interrupt_enable(struct pci_dev *dev, bool en) {} struct pcie_port_service_driver *pcie_port_find_service(struct pci_dev *dev, u32 service); +struct device *pcie_port_find_device(struct pci_dev *dev, u32 service); #endif /* _PORTDRV_H_ */ |