aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/pciehp.h
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/hotplug/pciehp.h
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/hotplug/pciehp.h')
-rw-r--r--drivers/pci/hotplug/pciehp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/pciehp.h b/drivers/pci/hotplug/pciehp.h
index 636ed8f4b869..08072bcaa381 100644
--- a/drivers/pci/hotplug/pciehp.h
+++ b/drivers/pci/hotplug/pciehp.h
@@ -20,10 +20,11 @@
#include <linux/pci_hotplug.h>
#include <linux/delay.h>
#include <linux/sched/signal.h> /* signal_pending() */
-#include <linux/pcieport_if.h>
#include <linux/mutex.h>
#include <linux/workqueue.h>
+#include "../pcie/pcieport_if.h"
+
#define MY_NAME "pciehp"
extern bool pciehp_poll_mode;