Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 137172
b: refs/heads/master
c: f0ffc81
h: refs/heads/master
v: v3
  • Loading branch information
Russell King authored and Russell King committed Jan 2, 2009
1 parent b86bd48 commit 15dd343
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4e57ea9a2e8e807e20f64d5b53fbee2c7c9e87ae
refs/heads/master: f0ffc816250a8cc28e6824326e2d58333e058eca
7 changes: 1 addition & 6 deletions trunk/arch/arm/include/asm/dma.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@

#include <mach/isa-dma.h>

/*
* DMA modes
*/
typedef unsigned int dmamode_t;

/*
* The DMA modes reflect the settings for the ISA DMA controller
*/
Expand Down Expand Up @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/include/asm/mach/dma.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ struct dma_struct {
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 */
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/kernel/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ EXPORT_SYMBOL(set_dma_count);

/* 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);

Expand Down

0 comments on commit 15dd343

Please sign in to comment.