* [PATCH] ARM: at91: Export at91_st_base
@ 2012-04-04 17:15 Joachim Eastwood
2012-04-05 14:31 ` Jean-Christophe PLAGNIOL-VILLARD
0 siblings, 1 reply; 2+ messages in thread
From: Joachim Eastwood @ 2012-04-04 17:15 UTC (permalink / raw)
To: linux-arm-kernel
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 <joachim.eastwood@jotron.com>
---
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..bb0e7fd 100644
--- a/arch/arm/mach-at91/at91rm9200_time.c
+++ b/arch/arm/mach-at91/at91rm9200_time.c
@@ -23,6 +23,7 @@
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/clockchips.h>
+#include <linux/export.h>
#include <asm/mach/time.h>
@@ -176,6 +177,7 @@ static struct clock_event_device clkevt = {
};
void __iomem *at91_st_base;
+EXPORT_SYMBOL(at91_st_base);
void __init at91rm9200_ioremap_st(u32 addr)
{
--
1.7.9.6
^ permalink raw reply related [flat|nested] 2+ messages in thread* [PATCH] ARM: at91: Export at91_st_base
2012-04-04 17:15 [PATCH] ARM: at91: Export at91_st_base Joachim Eastwood
@ 2012-04-05 14:31 ` Jean-Christophe PLAGNIOL-VILLARD
0 siblings, 0 replies; 2+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2012-04-05 14:31 UTC (permalink / raw)
To: linux-arm-kernel
On 19:15 Wed 04 Apr , Joachim Eastwood wrote:
> 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 <joachim.eastwood@jotron.com>
> ---
> 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..bb0e7fd 100644
> --- a/arch/arm/mach-at91/at91rm9200_time.c
> +++ b/arch/arm/mach-at91/at91rm9200_time.c
> @@ -23,6 +23,7 @@
> #include <linux/interrupt.h>
> #include <linux/irq.h>
> #include <linux/clockchips.h>
> +#include <linux/export.h>
>
> #include <asm/mach/time.h>
>
> @@ -176,6 +177,7 @@ static struct clock_event_device clkevt = {
> };
>
> void __iomem *at91_st_base;
> +EXPORT_SYMBOL(at91_st_base);
EXPORT_SYMBOL_GPL
Best Regards,
J.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-04-05 14:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-04 17:15 [PATCH] ARM: at91: Export at91_st_base Joachim Eastwood
2012-04-05 14:31 ` Jean-Christophe PLAGNIOL-VILLARD
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).