Skip to contentSkip to conversation

ARM: at91: Export at91_ramc_base

PATCH New manabian at gmail.com 3 participants 3 messages Mar 30, 2012 – Apr 6, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: at91: Export at91_ramc_base

From: Joachim Eastwood <[email protected]>

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.

---

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(+)
arch/arm/mach-at91/setup.c +1 -0
index 1083739..aa010a9 100644
@@ -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)
 {
Signature · 1 line
1.7.9.2
#1 lore raw

PATCH 1/1 ARM: at91: Export at91_ramc_base

Hello.

Quoted 3 lines · manabian at gmail.com

From: Joachim Eastwood<[email protected]>

After commit f363c407b42c4 building at91_cf as a module fails with:

Please also specify that commit's summary in parens.

Quoted 8 lines
   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.

WBR, Sergei

#2 lore raw

PATCH 1/1 ARM: at91: Export at91_ramc_base

In reply to manabian at gmail.com

On 03/30/2012 11:03 PM, manabian at gmail.com :

Quoted 11 lines

From: Joachim Eastwood <[email protected]>

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.

and queued in at91-fixes for 3.4

(I modified commit message in relation with Sergei's comment).

Thanks, best regards,

Quoted 20 lines

---

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(+)
arch/arm/mach-at91/setup.c +1 -0
index 1083739..aa010a9 100644
@@ -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)
 {
Signature · 1 line
Nicolas Ferre