Explorar el Código

MIPS: Export erratum function needed by octeon-ethernet driver.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
David Daney hace 16 años
padre
commit
38295fb2a0
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      arch/mips/cavium-octeon/executive/cvmx-helper-errata.c

+ 3 - 0
arch/mips/cavium-octeon/executive/cvmx-helper-errata.c

@@ -33,6 +33,8 @@
  * these functions directly.
  * these functions directly.
  *
  *
  */
  */
+#include <linux/module.h>
+
 #include <asm/octeon/octeon.h>
 #include <asm/octeon/octeon.h>
 
 
 #include <asm/octeon/cvmx-helper-jtag.h>
 #include <asm/octeon/cvmx-helper-jtag.h>
@@ -68,3 +70,4 @@ void __cvmx_helper_errata_qlm_disable_2nd_order_cdr(int qlm)
 	}
 	}
 	cvmx_helper_qlm_jtag_update(qlm);
 	cvmx_helper_qlm_jtag_update(qlm);
 }
 }
+EXPORT_SYMBOL(__cvmx_helper_errata_qlm_disable_2nd_order_cdr);