summaryrefslogtreecommitdiffstats
path: root/include/asm-ppc/ppc4xx_dma.h
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2005-12-16 23:35:23 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2005-12-16 23:43:05 +0100
commit7c3dbbe982ac85837f1da150ea9539a9e9a12557 (patch)
tree10c9d071d78a2c204ce34b8d95fd0ba9139bb7d2 /include/asm-ppc/ppc4xx_dma.h
parent[PATCH] ppc: booke_wdt compile fix (diff)
downloadlinux-7c3dbbe982ac85837f1da150ea9539a9e9a12557.tar.xz
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 'include/asm-ppc/ppc4xx_dma.h')
-rw-r--r--include/asm-ppc/ppc4xx_dma.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/asm-ppc/ppc4xx_dma.h b/include/asm-ppc/ppc4xx_dma.h
index a415001165fa..46a086fff816 100644
--- a/include/asm-ppc/ppc4xx_dma.h
+++ b/include/asm-ppc/ppc4xx_dma.h
@@ -33,9 +33,6 @@
#define MAX_PPC4xx_DMA_CHANNELS 4
-/* in arch/ppc/kernel/setup.c -- Cort */
-extern unsigned long DMA_MODE_WRITE, DMA_MODE_READ;
-
/*
* Function return status codes
* These values are used to indicate whether or not the function