PCI: Remove unused includes and superfluous struct declaration
authorKrzysztof Wilczynski <kw@linux.com>
Tue, 3 Sep 2019 11:30:59 +0000 (13:30 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 21 Nov 2019 13:49:29 +0000 (07:49 -0600)
commitbbd8810d399812f2016713565e4d8ff8f1508aa6
tree631385ad136d861e21fb176855bd43057a68596b
parent0d2f4d62ff4164df5611df53ae5546421d40cfb4
PCI: Remove unused includes and superfluous struct declaration

Remove <linux/pci.h> and <linux/msi.h> from being included directly as part
of the include/linux/of_pci.h, and remove superfluous declaration of struct
of_phandle_args.

Move users of include <linux/of_pci.h> to include <linux/pci.h> and
<linux/msi.h> directly rather than rely on both being included transitively
through <linux/of_pci.h>.

Link: https://lore.kernel.org/r/20190903113059.2901-1-kw@linux.com
Signed-off-by: Krzysztof Wilczynski <kw@linux.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Rob Herring <robh@kernel.org>
drivers/iommu/of_iommu.c
drivers/irqchip/irq-gic-v2m.c
drivers/irqchip/irq-gic-v3-its-pci-msi.c
drivers/pci/controller/dwc/pcie-designware-host.c
drivers/pci/controller/pci-aardvark.c
drivers/pci/controller/pci-thunder-pem.c
drivers/pci/pci.c
drivers/pci/probe.c
include/linux/of_pci.h