summaryrefslogtreecommitdiffstats
path: root/target/linux/cavium-octeon/patches/010-export_erratum_function.patch
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-05-06 18:12:49 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-05-06 18:12:49 +0000
commit154dbffb39af92e0b869922b286dee063508b5a1 (patch)
treecf4299f4d762af3e1b6e019c52aec7df513f54bd /target/linux/cavium-octeon/patches/010-export_erratum_function.patch
parentf9a305d04432a0a09a1e99ca3bb57932c72cb355 (diff)
[cavium-octeon] add support for the Cavium Octeon SoC, tested on a Mototech evaluation board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15640 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/cavium-octeon/patches/010-export_erratum_function.patch')
-rw-r--r--target/linux/cavium-octeon/patches/010-export_erratum_function.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/target/linux/cavium-octeon/patches/010-export_erratum_function.patch b/target/linux/cavium-octeon/patches/010-export_erratum_function.patch
new file mode 100644
index 000000000..27c9e794b
--- /dev/null
+++ b/target/linux/cavium-octeon/patches/010-export_erratum_function.patch
@@ -0,0 +1,26 @@
+Signed-off-by: David Daney <ddaney@caviumnetworks.com>
+---
+ .../cavium-octeon/executive/cvmx-helper-errata.c | 3 +++
+ 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 8fb8205..868659e 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);
+--
+1.6.0.6
+