summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf561/dma.c
diff options
context:
space:
mode:
authorBernd Schmidt <bernds_cb1@t-online.de>2008-04-23 23:23:31 +0200
committerBryan Wu <cooloney@kernel.org>2008-04-23 23:23:31 +0200
commitac86a9785384843e8359c45a042cc4f87953d4c8 (patch)
tree9846321b7a19fdf65a53401f2dd8424ba8e412c1 /arch/blackfin/mach-bf561/dma.c
parent[Blackfin] arch: Allow AD1836A board to be connected, either to SPORT2 or SPO... (diff)
downloadlinux-ac86a9785384843e8359c45a042cc4f87953d4c8.tar.xz
linux-ac86a9785384843e8359c45a042cc4f87953d4c8.zip
[Blackfin] arch: Consistently export base_addr for all Blackfin variants.
Signed-off-by: Bernd Schmidt <bernds_cb1@t-online.de> Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/mach-bf561/dma.c')
-rw-r--r--arch/blackfin/mach-bf561/dma.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf561/dma.c b/arch/blackfin/mach-bf561/dma.c
index 89c65bb0bed3..9863ae4fb8a4 100644
--- a/arch/blackfin/mach-bf561/dma.c
+++ b/arch/blackfin/mach-bf561/dma.c
@@ -26,6 +26,8 @@
* to the Free Software Foundation, Inc.,
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include <linux/module.h>
+
#include <asm/blackfin.h>
#include <asm/dma.h>
@@ -67,6 +69,7 @@ struct dma_register *base_addr[MAX_BLACKFIN_DMA_CHANNEL] = {
(struct dma_register *) IMDMA_D1_NEXT_DESC_PTR,
(struct dma_register *) IMDMA_S1_NEXT_DESC_PTR,
};
+EXPORT_SYMBOL(base_addr);
int channel2irq(unsigned int channel)
{