summaryrefslogtreecommitdiff
path: root/arch/sparc/kernel/kernel.h
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2014-05-17 01:25:58 +0400
committerDavid S. Miller <davem@davemloft.net>2014-05-19 06:01:31 +0400
commit4ac7b8268ebbb0aea4dba0dd4c60d74bd8935aa6 (patch)
treedb5111207b5e2ef5f1eeb5c622e5432d133f6d5b /arch/sparc/kernel/kernel.h
parenta0c54a21ddc187f60fb6befa95269ec416634004 (diff)
downloadlinux-4ac7b8268ebbb0aea4dba0dd4c60d74bd8935aa6.tar.xz
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/kernel.h')
-rw-r--r--arch/sparc/kernel/kernel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sparc/kernel/kernel.h b/arch/sparc/kernel/kernel.h
index 5ab4bc21be83..eeb87f7224ca 100644
--- a/arch/sparc/kernel/kernel.h
+++ b/arch/sparc/kernel/kernel.h
@@ -41,6 +41,9 @@ void __irq_entry smp_new_mmu_context_version_client(int irq, struct pt_regs *reg
void __irq_entry smp_penguin_jailcell(int irq, struct pt_regs *regs);
void __irq_entry smp_receive_signal_client(int irq, struct pt_regs *regs);
+/* pci.c */
+int pci64_dma_supported(struct pci_dev *pdev, u64 device_mask);
+
#endif
#ifdef CONFIG_SPARC32