m68k/mac: Export Peripheral System Controller (PSC) base address to modules
authorGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 29 Sep 2015 08:24:05 +0000 (10:24 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Sep 2015 04:11:13 +0000 (21:11 -0700)
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/m68k/mac/psc.c

index cd38f29955c87421e8142c8d4ca9e065111b57c3..2290c0cae48beb8ab9fb22a74327bf94306c9df0 100644 (file)
@@ -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.