From: Joachim Eastwood Date: Sat, 7 Apr 2012 17:30:22 +0000 (+0200) Subject: ARM: at91: Export at91_pmc_base X-Git-Tag: upstream/snapshot3+hdmi~7638^2^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f19b797c08017c9b03d81986b2efc4c5cf4bc453;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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 Signed-off-by: Nicolas Ferre --- diff --git a/arch/arm/mach-at91/clock.c b/arch/arm/mach-at91/clock.c index a0f4d74..6b69282 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