PCI: Include <asm/dma.h> for isa_dma_bridge_buggy
authorBen Dooks <ben.dooks@codethink.co.uk>
Fri, 17 Jun 2016 15:05:13 +0000 (16:05 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 19 Jul 2016 22:03:59 +0000 (17:03 -0500)
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>
drivers/pci/pci.c

index 9add285..86b538d 100644 (file)
@@ -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"