aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/pci-aardvark.c
diff options
context:
space:
mode:
authorKrzysztof Wilczynski <kw@linux.com>2019-09-03 13:30:59 +0200
committerBjorn Helgaas <bhelgaas@google.com>2019-11-21 07:49:29 -0600
commitbbd8810d399812f2016713565e4d8ff8f1508aa6 (patch)
tree631385ad136d861e21fb176855bd43057a68596b /drivers/pci/controller/pci-aardvark.c
parentx86/PCI: Replace deprecated EXTRA_CFLAGS with ccflags-y (diff)
downloadlinux-dev-bbd8810d399812f2016713565e4d8ff8f1508aa6.tar.xz
linux-dev-bbd8810d399812f2016713565e4d8ff8f1508aa6.zip
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>
Diffstat (limited to 'drivers/pci/controller/pci-aardvark.c')
-rw-r--r--drivers/pci/controller/pci-aardvark.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/controller/pci-aardvark.c b/drivers/pci/controller/pci-aardvark.c
index fc0fe4d4de49..3a05f6ca95b0 100644
--- a/drivers/pci/controller/pci-aardvark.c
+++ b/drivers/pci/controller/pci-aardvark.c
@@ -16,6 +16,7 @@
#include <linux/pci.h>
#include <linux/init.h>
#include <linux/platform_device.h>
+#include <linux/msi.h>
#include <linux/of_address.h>
#include <linux/of_pci.h>