summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2017-04-21 03:14:51 +0200
committerRalf Baechle <ralf@linux-mips.org>2017-04-21 03:23:24 +0200
commitc1d590081e3f77b364e8563d3edf83ca245a51d9 (patch)
tree2e7365c45a8db7bb0c57bf77ae4b53e1fc7d9d15 /arch
parenta98e1788b005fbbf3f74f6f2325c743872dc583f (diff)
downloadlinux-stable-c1d590081e3f77b364e8563d3edf83ca245a51d9.tar.gz
linux-stable-c1d590081e3f77b364e8563d3edf83ca245a51d9.tar.bz2
linux-stable-c1d590081e3f77b364e8563d3edf83ca245a51d9.zip
MIPS: Sibyte: Export symbol periph_rev to sb1250-mac network driver.
This fixes the following modpost error: ERROR: "periph_rev" [drivers/net/ethernet/broadcom/sb1250-mac.ko] undefined! Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/sibyte/bcm1480/setup.c1
-rw-r--r--arch/mips/sibyte/sb1250/setup.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/sibyte/bcm1480/setup.c b/arch/mips/sibyte/bcm1480/setup.c
index a05246cbf54c..2035aaec8514 100644
--- a/arch/mips/sibyte/bcm1480/setup.c
+++ b/arch/mips/sibyte/bcm1480/setup.c
@@ -36,6 +36,7 @@ unsigned int soc_pass;
unsigned int soc_type;
EXPORT_SYMBOL(soc_type);
unsigned int periph_rev;
+EXPORT_SYMBOL_GPL(periph_rev);
unsigned int zbbus_mhz;
EXPORT_SYMBOL(zbbus_mhz);
diff --git a/arch/mips/sibyte/sb1250/setup.c b/arch/mips/sibyte/sb1250/setup.c
index 90e43782342b..aa7713adfa58 100644
--- a/arch/mips/sibyte/sb1250/setup.c
+++ b/arch/mips/sibyte/sb1250/setup.c
@@ -34,6 +34,7 @@ unsigned int soc_pass;
unsigned int soc_type;
EXPORT_SYMBOL(soc_type);
unsigned int periph_rev;
+EXPORT_SYMBOL_GPL(periph_rev);
unsigned int zbbus_mhz;
EXPORT_SYMBOL(zbbus_mhz);