diff options
author | Joachim Eastwood <manabian@gmail.com> | 2012-04-07 21:30:22 +0400 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2012-04-16 13:08:24 +0400 |
commit | f19b797c08017c9b03d81986b2efc4c5cf4bc453 (patch) | |
tree | a079650de32ed0c3f18c2767ff4e907e2c8bae14 /arch/arm/mach-at91/clock.c | |
parent | 9268c6c6fab0b27a01afec8268f7c863783541bf (diff) | |
download | linux-f19b797c08017c9b03d81986b2efc4c5cf4bc453.tar.xz |
ARM: at91: Export at91_pmc_base
After commit b55149529d26 (ARM: at91/PMC: make register base soc independent)
building atmel_usba_udc as a module fails with following message
ERROR: "at91_pmc_base" [drivers/usb/gadget/atmel_usba_udc.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
Export symbol to allow driver to be built as a module again.
Signed-off-by: Joachim Eastwood <joachim.eastwood@jotron.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/mach-at91/clock.c')
-rw-r--r-- | arch/arm/mach-at91/clock.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/clock.c b/arch/arm/mach-at91/clock.c index a0f4d7424cdc..6b692824c988 100644 --- a/arch/arm/mach-at91/clock.c +++ b/arch/arm/mach-at91/clock.c @@ -35,6 +35,7 @@ #include "generic.h" void __iomem *at91_pmc_base; +EXPORT_SYMBOL_GPL(at91_pmc_base); /* * There's a lot more which can be done with clocks, including cpufreq |