summaryrefslogtreecommitdiffstats
path: root/drivers/pci/pcie/dpc.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2018-06-08 15:40:16 +0200
committerBjorn Helgaas <helgaas@kernel.org>2018-06-11 15:11:11 +0200
commit0544b04b792696d6e408f3a882d1a36943084fa8 (patch)
tree07867b29ecbba2294041d954f770eee41908c315 /drivers/pci/pcie/dpc.c
parentPCI/AER: Remove duplicate pcie_port_bus_type declaration (diff)
downloadlinux-0544b04b792696d6e408f3a882d1a36943084fa8.tar.xz
linux-0544b04b792696d6e408f3a882d1a36943084fa8.zip
PCI/AER: Move pcie_aer_get_firmware_first() to portdrv.h
Move pcie_aer_get_firmware_first() to portdrv.h, where it can be more easily shared between AER and DPC. Then DPC no longer needs to include aer/aerdrv.h. 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/dpc.c')
-rw-r--r--drivers/pci/pcie/dpc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/pcie/dpc.c b/drivers/pci/pcie/dpc.c
index d6436681c535..921ed979109d 100644
--- a/drivers/pci/pcie/dpc.c
+++ b/drivers/pci/pcie/dpc.c
@@ -13,7 +13,6 @@
#include "portdrv.h"
#include "../pci.h"
-#include "aer/aerdrv.h"
struct dpc_dev {
struct pcie_device *dev;