summaryrefslogtreecommitdiffstats
path: root/arch/ppc/syslib
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2007-04-26 09:07:05 +0200
committerPaul Mackerras <paulus@samba.org>2007-04-30 03:02:05 +0200
commitf139efedb8d34904cf8ea30b174c3ee57204d114 (patch)
treedb3290247bf3334dcbc69986e0e252bb9a6a55aa /arch/ppc/syslib
parent[POWERPC] arch/powerpc/sysdev/timer.c build fix (diff)
downloadlinux-f139efedb8d34904cf8ea30b174c3ee57204d114.tar.xz
linux-f139efedb8d34904cf8ea30b174c3ee57204d114.zip
[POWERPC] ppc4xx_sgdma needs dma-mapping.h
For dma_alloc_*() Cc: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> Cc: Paul Mackerras <paulus@samba.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/ppc/syslib')
-rw-r--r--arch/ppc/syslib/ppc4xx_sgdma.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/ppc/syslib/ppc4xx_sgdma.c b/arch/ppc/syslib/ppc4xx_sgdma.c
index 2f83e162971f..939abe3c1f45 100644
--- a/arch/ppc/syslib/ppc4xx_sgdma.c
+++ b/arch/ppc/syslib/ppc4xx_sgdma.c
@@ -27,6 +27,7 @@
#include <asm/system.h>
#include <asm/io.h>
+#include <asm/dma-mapping.h>
#include <asm/ppc4xx_dma.h>
void