summaryrefslogtreecommitdiffstats
path: root/drivers/pci/pci.c
diff options
context:
space:
mode:
authorBen Dooks <ben.dooks@codethink.co.uk>2016-06-17 16:05:13 +0100
committerBjorn Helgaas <bhelgaas@google.com>2016-07-19 17:03:59 -0500
commit2a2aca316aedae815cc3d7e9ba0b30ec5d8a5edf (patch)
tree6b5194c465b2d19ff42dddcf015fb844e20b240a /drivers/pci/pci.c
parent21751a9a4ed4219c11e4073afecb9a876d1107ea (diff)
downloadop-kernel-dev-2a2aca316aedae815cc3d7e9ba0b30ec5d8a5edf.zip
op-kernel-dev-2a2aca316aedae815cc3d7e9ba0b30ec5d8a5edf.tar.gz
PCI: Include <asm/dma.h> for isa_dma_bridge_buggy
At least on arm, <asm/dma.h> does not get included when building drivers/pci/pci.o. This causes the following build warning which can be fixed by including <asm/dma.h>: drivers/pci/pci.c:37:5: warning: symbol 'isa_dma_bridge_buggy' was not declared. Should it be static? Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/pci.c')
-rw-r--r--drivers/pci/pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index 9add285..86b538d 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -26,6 +26,7 @@
#include <linux/pm_runtime.h>
#include <linux/pci_hotplug.h>
#include <asm/setup.h>
+#include <asm/dma.h>
#include <linux/aer.h>
#include "pci.h"
OpenPOWER on IntegriCloud