diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2017-04-21 03:14:51 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2017-04-21 03:20:20 +0200 |
commit | f6f174bad4ecd7c949e850a8075fb03e228f6018 (patch) | |
tree | e4166ea8152dc0409ab78a0baafd804865f1562c | |
parent | 151b371074a53002fd2531d0252662d79cc1ab92 (diff) | |
download | linux-2.6.21-stable.tar.gz |
MIPS: Sibyte: Export symbol periph_rev to sb1250-mac network driver.linux-2.6.21-stable
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>
(cherry picked from commit b91a59cf10a7d69a2669cda009c2943640b11168)
-rw-r--r-- | arch/mips/sibyte/bcm1480/setup.c | 1 | ||||
-rw-r--r-- | arch/mips/sibyte/sb1250/setup.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/sibyte/bcm1480/setup.c b/arch/mips/sibyte/bcm1480/setup.c index bdaac34ae70897..41b2d67b576d59 100644 --- a/arch/mips/sibyte/bcm1480/setup.c +++ b/arch/mips/sibyte/bcm1480/setup.c @@ -32,6 +32,7 @@ unsigned int sb1_pass; unsigned int soc_pass; unsigned int soc_type; unsigned int periph_rev; +EXPORT_SYMBOL_GPL(periph_rev); unsigned int zbbus_mhz; static unsigned int part_type; diff --git a/arch/mips/sibyte/sb1250/setup.c b/arch/mips/sibyte/sb1250/setup.c index 670d86c934672a..cf33697e5f3cb7 100644 --- a/arch/mips/sibyte/sb1250/setup.c +++ b/arch/mips/sibyte/sb1250/setup.c @@ -32,6 +32,7 @@ unsigned int sb1_pass; unsigned int soc_pass; unsigned int soc_type; unsigned int periph_rev; +EXPORT_SYMBOL_GPL(periph_rev); unsigned int zbbus_mhz; EXPORT_SYMBOL(zbbus_mhz); |