summaryrefslogtreecommitdiff
path: root/drivers/pci
diff options
context:
space:
mode:
authorBen Dooks <ben.dooks@codethink.co.uk>2016-06-17 18:05:13 +0300
committerBjorn Helgaas <bhelgaas@google.com>2016-07-20 01:03:59 +0300
commit2a2aca316aedae815cc3d7e9ba0b30ec5d8a5edf (patch)
tree6b5194c465b2d19ff42dddcf015fb844e20b240a /drivers/pci
parent21751a9a4ed4219c11e4073afecb9a876d1107ea (diff)
downloadlinux-2a2aca316aedae815cc3d7e9ba0b30ec5d8a5edf.tar.xz
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')
-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 9add28516a66..86b538d6a2a5 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"