aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/include/asm/dma.h
diff options
context:
space:
mode:
authorBarry Song <barry.song@analog.com>2009-11-22 22:47:24 -0500
committerMike Frysinger <vapier@gentoo.org>2009-12-15 00:16:01 -0500
commitdd3b0e3e6a322184313e47e2fd5955ab113ad463 (patch)
tree224a3f1eae739b66ecfb65bc44dc7d9a482a0df3 /arch/blackfin/include/asm/dma.h
parenta00b4fe5ce4b98f7c4457fffdb392d7bfece2e78 (diff)
Blackfin: dma-mapping.h: flesh out missing DMA mapping functions
Signed-off-by: Barry Song <barry.song@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/include/asm/dma.h')
-rw-r--r--arch/blackfin/include/asm/dma.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/blackfin/include/asm/dma.h b/arch/blackfin/include/asm/dma.h
index 5eb29502bbe4..bd2e62243abe 100644
--- a/arch/blackfin/include/asm/dma.h
+++ b/arch/blackfin/include/asm/dma.h
@@ -13,8 +13,7 @@
13#include <asm/atomic.h> 13#include <asm/atomic.h>
14#include <asm/blackfin.h> 14#include <asm/blackfin.h>
15#include <asm/page.h> 15#include <asm/page.h>
16 16#include <asm-generic/dma.h>
17#define MAX_DMA_ADDRESS PAGE_OFFSET
18 17
19/* DMA_CONFIG Masks */ 18/* DMA_CONFIG Masks */
20#define DMAEN 0x0001 /* DMA Channel Enable */ 19#define DMAEN 0x0001 /* DMA Channel Enable */
@@ -257,8 +256,6 @@ static inline void enable_dma(unsigned int channel)
257 dma_ch[channel].regs->curr_y_count = 0; 256 dma_ch[channel].regs->curr_y_count = 0;
258 dma_ch[channel].regs->cfg |= DMAEN; 257 dma_ch[channel].regs->cfg |= DMAEN;
259} 258}
260void free_dma(unsigned int channel);
261int request_dma(unsigned int channel, const char *device_id);
262int set_dma_callback(unsigned int channel, irq_handler_t callback, void *data); 259int set_dma_callback(unsigned int channel, irq_handler_t callback, void *data);
263 260
264static inline void dma_disable_irq(unsigned int channel) 261static inline void dma_disable_irq(unsigned int channel)