summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/dma.h
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2009-01-02 13:34:55 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-01-02 13:34:55 +0100
commitf0ffc816250a8cc28e6824326e2d58333e058eca (patch)
tree1949fcb94b07e1dac522fcaae53cb5343c788ab4 /arch/arm/include/asm/dma.h
parent[ARM] dma: remove usage of dmamode_t from MXC platform support (diff)
downloadlinux-f0ffc816250a8cc28e6824326e2d58333e058eca.tar.xz
linux-f0ffc816250a8cc28e6824326e2d58333e058eca.zip
[ARM] dma: remove dmamode_t typedef
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include/asm/dma.h')
-rw-r--r--arch/arm/include/asm/dma.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/arm/include/asm/dma.h b/arch/arm/include/asm/dma.h
index 59f59c6c79f7..7edf3536df24 100644
--- a/arch/arm/include/asm/dma.h
+++ b/arch/arm/include/asm/dma.h
@@ -22,11 +22,6 @@
#include <mach/isa-dma.h>
/*
- * DMA modes
- */
-typedef unsigned int dmamode_t;
-
-/*
* The DMA modes reflect the settings for the ISA DMA controller
*/
#define DMA_MODE_MASK 0xcc
@@ -125,7 +120,7 @@ extern void set_dma_count(unsigned int chan, unsigned long count);
* DMA transfer direction immediately, but defer it to the
* enable_dma().
*/
-extern void set_dma_mode(unsigned int chan, dmamode_t mode);
+extern void set_dma_mode(unsigned int chan, unsigned int mode);
/* Set the transfer speed for this channel
*/