summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorDavid Daney <ddaney@caviumnetworks.com>2009-05-06 02:35:20 +0200
committerRalf Baechle <ralf@linux-mips.org>2009-06-17 12:06:29 +0200
commit38295fb2a09264671c82d490ce77c17d492378e0 (patch)
tree963c7726e6c4116d65a756e25164cc94933831d1 /arch/mips
parentMIPS: Cavium-Octeon: Add more chip specific feature tests. (diff)
downloadlinux-38295fb2a09264671c82d490ce77c17d492378e0.tar.xz
linux-38295fb2a09264671c82d490ce77c17d492378e0.zip
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>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/cavium-octeon/executive/cvmx-helper-errata.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/cavium-octeon/executive/cvmx-helper-errata.c b/arch/mips/cavium-octeon/executive/cvmx-helper-errata.c
index 8fb82057cd80..868659e64d4a 100644
--- a/arch/mips/cavium-octeon/executive/cvmx-helper-errata.c
+++ b/arch/mips/cavium-octeon/executive/cvmx-helper-errata.c
@@ -33,6 +33,8 @@
* these functions directly.
*
*/
+#include <linux/module.h>
+
#include <asm/octeon/octeon.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);
}
+EXPORT_SYMBOL(__cvmx_helper_errata_qlm_disable_2nd_order_cdr);