diff options
author | Rob Herring <robh@kernel.org> | 2018-05-11 12:15:30 -0500 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2018-05-14 18:09:40 +0100 |
commit | 9e2aee80c78d5084e0c58745e9762c29da6bd53f (patch) | |
tree | 52ce23d15b27a896b1159fc09a1cd7405c2c3daa /drivers/pci/host/pci-ftpci100.c | |
parent | a5aa35cdf0cf425e411c75f7d02a813059eee9a6 (diff) | |
download | lwn-9e2aee80c78d5084e0c58745e9762c29da6bd53f.tar.gz lwn-9e2aee80c78d5084e0c58745e9762c29da6bd53f.zip |
PCI: Move private DT related functions into private header
The functions in linux/of_pci.h are primarily used by host bridge
drivers, so they can be private to drivers/pci/.
The remaining functions are still used mostly in host bridge drivers
that still live in arch specific code. Hopefully someday, those will get
moved into drivers/pci as well.
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Jingoo Han <jingoohan1@gmail.com>
Diffstat (limited to 'drivers/pci/host/pci-ftpci100.c')
-rw-r--r-- | drivers/pci/host/pci-ftpci100.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pci/host/pci-ftpci100.c b/drivers/pci/host/pci-ftpci100.c index 5008fd87956a..474faa2e922e 100644 --- a/drivers/pci/host/pci-ftpci100.c +++ b/drivers/pci/host/pci-ftpci100.c @@ -28,6 +28,8 @@ #include <linux/irq.h> #include <linux/clk.h> +#include "../pci.h" + /* * Special configuration registers directly in the first few words * in I/O space. |