summaryrefslogtreecommitdiffstats
path: root/arch/ppc
diff options
context:
space:
mode:
authorAl Viro2005-12-16 23:35:23 +0100
committerLinus Torvalds2005-12-16 23:43:05 +0100
commit7c3dbbe982ac85837f1da150ea9539a9e9a12557 (patch)
tree10c9d071d78a2c204ce34b8d95fd0ba9139bb7d2 /arch/ppc
parent[PATCH] ppc: booke_wdt compile fix (diff)
downloadkernel-qcow2-linux-7c3dbbe982ac85837f1da150ea9539a9e9a12557.tar.gz
kernel-qcow2-linux-7c3dbbe982ac85837f1da150ea9539a9e9a12557.tar.xz
kernel-qcow2-linux-7c3dbbe982ac85837f1da150ea9539a9e9a12557.zip
[PATCH] ppc: ppc4xx_dma DMA_MODE_{READ,WRITE} fix
DMA_MODE_{READ,WRITE} are declared in asm-powerpc/dma.h and their declarations there match the definitions. Old declarations in ppc4xx_dma.h are not right anymore (wrong type, to start with). Killed them, added include of asm/dma.h where needed. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/ppc')
-rw-r--r--arch/ppc/syslib/ppc4xx_dma.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/ppc/syslib/ppc4xx_dma.c b/arch/ppc/syslib/ppc4xx_dma.c
index f15e64285f96..05ccd598dd4e 100644
--- a/arch/ppc/syslib/ppc4xx_dma.c
+++ b/arch/ppc/syslib/ppc4xx_dma.c
@@ -30,6 +30,7 @@
#include <asm/system.h>
#include <asm/io.h>
+#include <asm/dma.h>
#include <asm/ppc4xx_dma.h>
ppc_dma_ch_t dma_channels[MAX_PPC4xx_DMA_CHANNELS];