summaryrefslogtreecommitdiffstats
path: root/drivers/pci/pcie/aer
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2018-06-08 08:40:25 -0500
committerBjorn Helgaas <helgaas@kernel.org>2018-06-11 08:11:18 -0500
commitf53e7418c3402a2589216997d7cd07d3b0be497e (patch)
treeb69888c0e464a9d9b0adc7492e29de5aa6e35bab /drivers/pci/pcie/aer
parent0544b04b792696d6e408f3a882d1a36943084fa8 (diff)
downloadblackbird-op-linux-f53e7418c3402a2589216997d7cd07d3b0be497e.tar.gz
blackbird-op-linux-f53e7418c3402a2589216997d7cd07d3b0be497e.zip
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/aer')
-rw-r--r--drivers/pci/pcie/aer/aer_inject.c3
-rw-r--r--drivers/pci/pcie/aer/aerdrv.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/drivers/pci/pcie/aer/aer_inject.c b/drivers/pci/pcie/aer/aer_inject.c
index a49090935303..6c5fda96778a 100644
--- a/drivers/pci/pcie/aer/aer_inject.c
+++ b/drivers/pci/pcie/aer/aer_inject.c
@@ -21,7 +21,8 @@
#include <linux/uaccess.h>
#include <linux/stddef.h>
#include <linux/device.h>
-#include "aerdrv.h"
+
+#include "../portdrv.h"
/* Override the existing corrected and uncorrected error masks */
static bool aer_mask_override;
diff --git a/drivers/pci/pcie/aer/aerdrv.h b/drivers/pci/pcie/aer/aerdrv.h
index b0c4aaa79d9c..9867950635df 100644
--- a/drivers/pci/pcie/aer/aerdrv.h
+++ b/drivers/pci/pcie/aer/aerdrv.h
@@ -76,6 +76,4 @@ struct aer_rpc {
*/
};
-irqreturn_t aer_irq(int irq, void *context);
-
#endif /* _AERDRV_H_ */
OpenPOWER on IntegriCloud