From: plagnioj@jcrosoft.com (Jean-Christophe PLAGNIOL-VILLARD)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: at91: Export at91_st_base
Date: Thu, 5 Apr 2012 16:31:30 +0200 [thread overview]
Message-ID: <20120405143130.GA16641@game.jcrosoft.org> (raw)
In-Reply-To: <1333559715-28649-1-git-send-email-joachim.eastwood@jotron.com>
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.
prev parent reply other threads:[~2012-04-05 14:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-04 17:15 [PATCH] ARM: at91: Export at91_st_base Joachim Eastwood
2012-04-05 14:31 ` Jean-Christophe PLAGNIOL-VILLARD [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120405143130.GA16641@game.jcrosoft.org \
--to=plagnioj@jcrosoft.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).