aboutsummaryrefslogtreecommitdiff
path: root/include/asm-blackfin/mach-bf548/dma.h
diff options
context:
space:
mode:
authorBryan Wu <bryan.wu@analog.com>2007-10-22 00:02:14 +0800
committerBryan Wu <bryan.wu@analog.com>2007-10-22 00:02:14 +0800
commit452af71f36685c932a5cce540a48c1818df6533f (patch)
treec466051e5be2b193c6fe41afc5335011dce1f6ea /include/asm-blackfin/mach-bf548/dma.h
parent780431e397c82df7e20ee17536b97a08f97ef8ba (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.h2
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