summaryrefslogtreecommitdiffstats
path: root/include/asm-blackfin/mach-bf548/dma.h
diff options
context:
space:
mode:
authorBryan Wu <bryan.wu@analog.com>2007-10-21 18:02:14 +0200
committerBryan Wu <bryan.wu@analog.com>2007-10-21 18:02:14 +0200
commit452af71f36685c932a5cce540a48c1818df6533f (patch)
treec466051e5be2b193c6fe41afc5335011dce1f6ea /include/asm-blackfin/mach-bf548/dma.h
parentBlackfin arch: cleanup and promote the general purpose timers api to a core b... (diff)
downloadlinux-452af71f36685c932a5cce540a48c1818df6533f.tar.xz
linux-452af71f36685c932a5cce540a48c1818df6533f.zip
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 14cb10cc24ae..4d97d3aa97cd 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