summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/pci.c
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2014-05-16 23:25:58 +0200
committerDavid S. Miller <davem@davemloft.net>2014-05-19 04:01:31 +0200
commit4ac7b8268ebbb0aea4dba0dd4c60d74bd8935aa6 (patch)
treedb5111207b5e2ef5f1eeb5c622e5432d133f6d5b /arch/sparc/kernel/pci.c
parentsparc64: fix sparse warnings in smp_64.c (diff)
downloadlinux-4ac7b8268ebbb0aea4dba0dd4c60d74bd8935aa6.tar.xz
linux-4ac7b8268ebbb0aea4dba0dd4c60d74bd8935aa6.zip
sparc64: fix sparse warning in pci.c
Fix following warning: pci.c:886:5: warning: symbol 'pci64_dma_supported' was not declared. Should it be static? Add proper prototype in kernel.h and delete local prototype in iommu.c Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/pci.c')
-rw-r--r--arch/sparc/kernel/pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/kernel/pci.c b/arch/sparc/kernel/pci.c
index 1555bbcae1ee..38fd8679e3a8 100644
--- a/arch/sparc/kernel/pci.c
+++ b/arch/sparc/kernel/pci.c
@@ -28,6 +28,7 @@
#include <asm/apb.h>
#include "pci_impl.h"
+#include "kernel.h"
/* List of all PCI controllers found in the system. */
struct pci_pbm_info *pci_pbm_root = NULL;