浏览代码

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>
Ralf Baechle 8 年之前
父节点
当前提交
c1d590081e
共有 2 个文件被更改,包括 2 次插入0 次删除
  1. 1 0
      arch/mips/sibyte/bcm1480/setup.c
  2. 1 0
      arch/mips/sibyte/sb1250/setup.c

+ 1 - 0
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);
 

+ 1 - 0
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);