diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2018-06-08 16:40:25 +0300 |
---|---|---|
committer | Bjorn Helgaas <helgaas@kernel.org> | 2018-06-11 16:11:18 +0300 |
commit | f53e7418c3402a2589216997d7cd07d3b0be497e (patch) | |
tree | b69888c0e464a9d9b0adc7492e29de5aa6e35bab /drivers/pci/pcie/portdrv.h | |
parent | 0544b04b792696d6e408f3a882d1a36943084fa8 (diff) | |
download | linux-f53e7418c3402a2589216997d7cd07d3b0be497e.tar.xz |
PCI/AER: Move aer_irq() declaration to portdrv.h
The aer_irq() declaration is the only thing needed by aer_inject.c. Move
it to portdrv.h so we eventually get rid of aerdrv.h completely. No
functional change intended.
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 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/pci/pcie/portdrv.h b/drivers/pci/pcie/portdrv.h index 6a261dc7cd4c..6ffc797a0dc1 100644 --- a/drivers/pci/pcie/portdrv.h +++ b/drivers/pci/pcie/portdrv.h @@ -121,6 +121,10 @@ static inline int pcie_aer_get_firmware_first(struct pci_dev *pci_dev) } #endif +#ifdef CONFIG_PCIEAER +irqreturn_t aer_irq(int irq, void *context); +#endif + 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); |