Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
#include <mach/isa-dma.h>
-/*
- * DMA modes
- */
-typedef unsigned int dmamode_t;
-
/*
* The DMA modes reflect the settings for the ISA DMA controller
*/
* 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
*/
unsigned int active:1; /* Transfer active */
unsigned int invalid:1; /* Address/Count changed */
- dmamode_t dma_mode; /* DMA mode */
+ unsigned int dma_mode; /* DMA mode */
int speed; /* DMA speed */
unsigned int lock; /* Device is allocated */
/* Set DMA direction mode
*/
-void set_dma_mode (unsigned int chan, dmamode_t mode)
+void set_dma_mode (unsigned int chan, unsigned int mode)
{
dma_t *dma = dma_channel(chan);