aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/pcie/portdrv_core.c
diff options
context:
space:
mode:
authorFrederick Lawler <fred@fredlawl.com>2018-02-13 21:52:18 -0600
committerBjorn Helgaas <helgaas@kernel.org>2018-02-22 17:14:36 -0600
commitc37e627f9565368ed7bd1f3cf59a2d223ddba85a (patch)
treecea67a9f3431bf42172fde312aade4fee45643e4 /drivers/pci/pcie/portdrv_core.c
parentLinux 4.16-rc1 (diff)
downloadlinux-dev-c37e627f9565368ed7bd1f3cf59a2d223ddba85a.tar.xz
linux-dev-c37e627f9565368ed7bd1f3cf59a2d223ddba85a.zip
PCI/portdrv: Move pcieport_if.h to drivers/pci/pcie/
Move pcieport_if.h from include/linux to drivers/pci/pcie/pcieport_if.h because the interfaces there are only used by the PCI core. Replace all uses of #include<linux/pcieport_if.h> with relative paths to the new file location, e.g., #include "../pcieport_if.h" Signed-off-by: Frederick Lawler <fred@fredlawl.com> Signed-off-by: Bjorn Helgaas <helgaas@kernel.org>
Diffstat (limited to 'drivers/pci/pcie/portdrv_core.c')
-rw-r--r--drivers/pci/pcie/portdrv_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pcie/portdrv_core.c b/drivers/pci/pcie/portdrv_core.c
index ef3bad4ad010..bab9cb71130f 100644
--- a/drivers/pci/pcie/portdrv_core.c
+++ b/drivers/pci/pcie/portdrv_core.c
@@ -15,9 +15,9 @@
#include <linux/pm_runtime.h>
#include <linux/string.h>
#include <linux/slab.h>
-#include <linux/pcieport_if.h>
#include <linux/aer.h>
+#include "pcieport_if.h"
#include "../pci.h"
#include "portdrv.h"