summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJoachim Eastwood <joachim.eastwood@jotron.com>2012-03-30 23:03:50 +0200
committerNicolas Ferre <nicolas.ferre@atmel.com>2012-04-16 11:08:24 +0200
commit9268c6c6fab0b27a01afec8268f7c863783541bf (patch)
treee2db8d0b2373035d0802f001db601fb30473687d /arch
parent9fce85c7e4357a93457c8fd2534a1cc1c3055bf5 (diff)
downloadop-kernel-dev-9268c6c6fab0b27a01afec8268f7c863783541bf.zip
op-kernel-dev-9268c6c6fab0b27a01afec8268f7c863783541bf.tar.gz
ARM: at91: Export at91_ramc_base
After commit f363c40 (ARM: at91: make sdram/ddr register base soc independent) building at91_cf as a module fails with: ERROR: "at91_ramc_base" [drivers/pcmcia/at91_cf.ko] undefined! make[1]: *** [__modpost] Error 1 make: *** [modules] Error 2 Export at91_ramc_base symbol to allow drivers using at91_ramc_* functions to be built as modules again. Signed-off-by: Joachim Eastwood <joachim.eastwood@jotron.com> [nicolas.ferre@atmel.com: modify slightly commit message] Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-at91/setup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/setup.c b/arch/arm/mach-at91/setup.c
index 97cc04d..0607847 100644
--- a/arch/arm/mach-at91/setup.c
+++ b/arch/arm/mach-at91/setup.c
@@ -54,6 +54,7 @@ void __init at91_init_interrupts(unsigned int *priority)
}
void __iomem *at91_ramc_base[2];
+EXPORT_SYMBOL_GPL(at91_ramc_base);
void __init at91_ioremap_ramc(int id, u32 addr, u32 size)
{
OpenPOWER on IntegriCloud