diff options
author | Ben Dooks <ben.dooks@codethink.co.uk> | 2016-06-17 16:05:13 +0100 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-07-19 17:03:59 -0500 |
commit | 2a2aca316aedae815cc3d7e9ba0b30ec5d8a5edf (patch) | |
tree | 6b5194c465b2d19ff42dddcf015fb844e20b240a /drivers/pci/pci.c | |
parent | 21751a9a4ed4219c11e4073afecb9a876d1107ea (diff) | |
download | op-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.c | 1 |
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" |