summaryrefslogtreecommitdiffstats
path: root/target/linux/octeon/patches-2.6.30/010-export_erratum_function.patch
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-02-04 10:10:45 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-02-04 10:10:45 +0000
commite575c1b6f304f079a69ead855623fac6bb360c21 (patch)
tree4f392ae5c7c4f73cbb85d2ea62680b45cba2ae62 /target/linux/octeon/patches-2.6.30/010-export_erratum_function.patch
parent1db064a8ffb8eb1a285a38dcc7483d3bbd3348ab (diff)
[octeon] move generic config and patches directory to be 2.6.30 specific
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19513 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/octeon/patches-2.6.30/010-export_erratum_function.patch')
-rw-r--r--target/linux/octeon/patches-2.6.30/010-export_erratum_function.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/target/linux/octeon/patches-2.6.30/010-export_erratum_function.patch b/target/linux/octeon/patches-2.6.30/010-export_erratum_function.patch
new file mode 100644
index 000000000..83b09fbed
--- /dev/null
+++ b/target/linux/octeon/patches-2.6.30/010-export_erratum_function.patch
@@ -0,0 +1,21 @@
+Signed-off-by: David Daney <ddaney@caviumnetworks.com>
+---
+ .../cavium-octeon/executive/cvmx-helper-errata.c | 3 +++
+ 1 files changed, 3 insertions(+), 0 deletions(-)
+
+--- 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-util.h>
+@@ -377,3 +379,4 @@ void __cvmx_helper_errata_qlm_disable_2n
+ }
+ cvmx_helper_qlm_jtag_update(qlm);
+ }
++EXPORT_SYMBOL(__cvmx_helper_errata_qlm_disable_2nd_order_cdr);