aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/include
diff options
context:
space:
mode:
Diffstat (limited to 'arch/blackfin/include')
-rw-r--r--arch/blackfin/include/asm/dma.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/blackfin/include/asm/dma.h b/arch/blackfin/include/asm/dma.h
index ca8252ab7a10..045bd1ce72bf 100644
--- a/arch/blackfin/include/asm/dma.h
+++ b/arch/blackfin/include/asm/dma.h
@@ -110,8 +110,6 @@ struct dma_register {
110 110
111}; 111};
112 112
113typedef irqreturn_t(*dma_interrupt_t) (int irq, void *dev_id);
114
115struct dma_channel { 113struct dma_channel {
116 struct mutex dmalock; 114 struct mutex dmalock;
117 const char *device_id; 115 const char *device_id;
@@ -120,7 +118,7 @@ struct dma_channel {
120 struct dmasg *sg; /* large mode descriptor */ 118 struct dmasg *sg; /* large mode descriptor */
121 unsigned int ctrl_num; /* controller number */ 119 unsigned int ctrl_num; /* controller number */
122 unsigned int irq; 120 unsigned int irq;
123 dma_interrupt_t irq_callback; 121 irq_handler_t irq_callback;
124 void *data; 122 void *data;
125 unsigned int dma_enable_flag; 123 unsigned int dma_enable_flag;
126 unsigned int loopback_flag; 124 unsigned int loopback_flag;
@@ -171,7 +169,7 @@ int dma_channel_active(unsigned int channel); /* check if a channel is in use */
171void disable_dma(unsigned int channel); 169void disable_dma(unsigned int channel);
172void enable_dma(unsigned int channel); 170void enable_dma(unsigned int channel);
173int request_dma(unsigned int channel, const char *device_id); 171int request_dma(unsigned int channel, const char *device_id);
174int set_dma_callback(unsigned int channel, dma_interrupt_t callback, 172int set_dma_callback(unsigned int channel, irq_handler_t callback,
175 void *data); 173 void *data);
176void dma_disable_irq(unsigned int channel); 174void dma_disable_irq(unsigned int channel);
177void dma_enable_irq(unsigned int channel); 175void dma_enable_irq(unsigned int channel);