[PATCH 4/5] m68k/mac: Export Peripheral System Controller (PSC) base address to modules

Geert Uytterhoeven
2015-09-29T08:24:05Z

If CONFIG_MACMACE=m:

ERROR: psc [drivers/net/ethernet/apple/macmace.ko] undefined!

Add the missing export to fix this.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
I'm OK with this going in through the netdev tree, as "net: macmace:
Allow modular build" depends on it.
---
arch/m68k/mac/psc.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/m68k/mac/psc.c b/arch/m68k/mac/psc.c
index cd38f29955c87421..2290c0cae48beb8a 100644
--- a/arch/m68k/mac/psc.c
+++ b/arch/m68k/mac/psc.c
@@ -29,6 +29,7 @@

int psc_present;
volatile __u8 *psc;
+EXPORT_SYMBOL_GPL(psc);

/*
* Debugging dump, used in various places to see what's going on.
--
1.9.1