diff options
author | Bryan Wu <bryan.wu@analog.com> | 2007-10-22 00:02:14 +0800 |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2007-10-22 00:02:14 +0800 |
commit | 452af71f36685c932a5cce540a48c1818df6533f (patch) | |
tree | c466051e5be2b193c6fe41afc5335011dce1f6ea /include/asm-blackfin/mach-bf548/dma.h | |
parent | 780431e397c82df7e20ee17536b97a08f97ef8ba (diff) |
Blackfin arch: dma add some API and cleanup bf54x DMA definition
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'include/asm-blackfin/mach-bf548/dma.h')
-rw-r--r-- | include/asm-blackfin/mach-bf548/dma.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-blackfin/mach-bf548/dma.h b/include/asm-blackfin/mach-bf548/dma.h index 14cb10cc24a..4d97d3aa97c 100644 --- a/include/asm-blackfin/mach-bf548/dma.h +++ b/include/asm-blackfin/mach-bf548/dma.h @@ -70,5 +70,5 @@ #define MAX_BLACKFIN_DMA_CHANNEL 32 extern int channel2irq(unsigned int channel); -extern struct dma_register *base_addr[]; +extern struct dma_register *base_addr[MAX_BLACKFIN_DMA_CHANNEL]; #endif |