diff options
Diffstat (limited to 'arch/blackfin/include/asm/dma.h')
-rw-r--r-- | arch/blackfin/include/asm/dma.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/blackfin/include/asm/dma.h b/arch/blackfin/include/asm/dma.h index 30595bf3ccbd..e4f7b8043f02 100644 --- a/arch/blackfin/include/asm/dma.h +++ b/arch/blackfin/include/asm/dma.h | |||
@@ -195,6 +195,10 @@ static inline void *get_dma_curr_desc_ptr(unsigned int channel) | |||
195 | { | 195 | { |
196 | return dma_ch[channel].regs->curr_desc_ptr; | 196 | return dma_ch[channel].regs->curr_desc_ptr; |
197 | } | 197 | } |
198 | static inline unsigned short get_dma_config(unsigned int channel) | ||
199 | { | ||
200 | return dma_ch[channel].regs->cfg; | ||
201 | } | ||
198 | static inline unsigned long get_dma_curr_addr(unsigned int channel) | 202 | static inline unsigned long get_dma_curr_addr(unsigned int channel) |
199 | { | 203 | { |
200 | return dma_ch[channel].regs->curr_addr_ptr; | 204 | return dma_ch[channel].regs->curr_addr_ptr; |