27c9e794b9ae2e4d3a7cc6e85eea652599d6ab22
[openwrt/svn-archive/archive.git] / target / linux / cavium-octeon / patches / 010-export_erratum_function.patch
1 Signed-off-by: David Daney <ddaney@caviumnetworks.com>
2 ---
3 .../cavium-octeon/executive/cvmx-helper-errata.c | 3 +++
4 1 files changed, 3 insertions(+), 0 deletions(-)
5
6 diff --git a/arch/mips/cavium-octeon/executive/cvmx-helper-errata.c b/arch/mips/cavium-octeon/executive/cvmx-helper-errata.c
7 index 8fb8205..868659e 100644
8 --- a/arch/mips/cavium-octeon/executive/cvmx-helper-errata.c
9 +++ b/arch/mips/cavium-octeon/executive/cvmx-helper-errata.c
10 @@ -33,6 +33,8 @@
11 * these functions directly.
12 *
13 */
14 +#include <linux/module.h>
15 +
16 #include <asm/octeon/octeon.h>
17
18 #include <asm/octeon/cvmx-helper-jtag.h>
19 @@ -68,3 +70,4 @@ void __cvmx_helper_errata_qlm_disable_2nd_order_cdr(int qlm)
20 }
21 cvmx_helper_qlm_jtag_update(qlm);
22 }
23 +EXPORT_SYMBOL(__cvmx_helper_errata_qlm_disable_2nd_order_cdr);
24 --
25 1.6.0.6
26