From mboxrd@z Thu Jan 1 00:00:00 1970 From: nicolas.ferre@atmel.com (Nicolas Ferre) Date: Fri, 06 Apr 2012 14:43:08 +0200 Subject: [PATCH v2] ARM: at91: Export at91_st_base In-Reply-To: <1333714882-1286-1-git-send-email-joachim.eastwood@jotron.com> References: <1333714882-1286-1-git-send-email-joachim.eastwood@jotron.com> Message-ID: <4F7EE4DC.9010402@atmel.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 04/06/2012 02:21 PM, Joachim Eastwood : > After commit 5e9cf5e18d4b "ARM: at91: make ST (System Timer) soc independent" > building at91rm9200_wdt as a module fails with following message > ERROR: "at91_st_base" [drivers/watchdog/at91rm9200_wdt.ko] undefined! > make[1]: *** [__modpost] Error 1 > make: *** [modules] Error 2 > > Export symbol to allow wdt driver to be built as a module again. > > Signed-off-by: Joachim Eastwood Signed-off-by: Nicolas Ferre I will carry it in our next at91-fixes batch for 3.4. Thanks a lot. Best regards, > --- > v2: Changed symbol export to GPL as per request from Jean-Christophe PLAGNIOL-VILLARD. > > arch/arm/mach-at91/at91rm9200_time.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm/mach-at91/at91rm9200_time.c b/arch/arm/mach-at91/at91rm9200_time.c > index dd7f782..104ca40 100644 > --- a/arch/arm/mach-at91/at91rm9200_time.c > +++ b/arch/arm/mach-at91/at91rm9200_time.c > @@ -23,6 +23,7 @@ > #include > #include > #include > +#include > > #include > > @@ -176,6 +177,7 @@ static struct clock_event_device clkevt = { > }; > > void __iomem *at91_st_base; > +EXPORT_SYMBOL_GPL(at91_st_base); > > void __init at91rm9200_ioremap_st(u32 addr) > { -- Nicolas Ferre