All of lore.kernel.org
 help / color / mirror / Atom feed
From: manabian@gmail.com (manabian at gmail.com)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: at91: Export at91_ramc_base
Date: Fri, 30 Mar 2012 23:03:50 +0200	[thread overview]
Message-ID: <4f761fd8.8843cc0a.22b0.6caa@mx.google.com> (raw)

From: Joachim Eastwood <joachim.eastwood@jotron.com>

After commit f363c407b42c4 building at91_cf as a module fails with:
  ERROR: "at91_ramc_base" [drivers/pcmcia/at91_cf.ko] undefined!
  make[1]: *** [__modpost] Error 1
  make: *** [modules] Error 2

Export at91_ramc_base symbol to allow drivers using at91_ramc_*
functions to be built as modules again.

Signed-off-by: Joachim Eastwood <joachim.eastwood@jotron.com>
---

This makes at91_cf compile again but it still doesn't work. Still
trying to figure out why.

 arch/arm/mach-at91/setup.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-at91/setup.c b/arch/arm/mach-at91/setup.c
index 1083739..aa010a9 100644
--- a/arch/arm/mach-at91/setup.c
+++ b/arch/arm/mach-at91/setup.c
@@ -53,6 +53,7 @@ void __init at91_init_interrupts(unsigned int *priority)
 }
 
 void __iomem *at91_ramc_base[2];
+EXPORT_SYMBOL(at91_ramc_base);
 
 void __init at91_ioremap_ramc(int id, u32 addr, u32 size)
 {
-- 
1.7.9.2

             reply	other threads:[~2012-03-30 21:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-30 21:03 manabian at gmail.com [this message]
2012-03-31 21:23 ` [PATCH] ARM: at91: Export at91_ramc_base Sergei Shtylyov
2012-04-06 12:56 ` Nicolas Ferre

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=4f761fd8.8843cc0a.22b0.6caa@mx.google.com \
    --to=manabian@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.