diff options
author | Florian Fainelli <florian@openwrt.org> | 2009-05-06 18:12:49 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2009-05-06 18:12:49 +0000 |
commit | 70f94ae2ab0e5460b817ad7b670f071d904d8bab (patch) | |
tree | 89145ffa8eb280689e41008eacbd8057e3ac0dc7 /target/linux/cavium-octeon/patches/010-export_erratum_function.patch | |
parent | 731a0e4791eafdb464c13b02383fae6711e72813 (diff) | |
download | mtk-20170518-70f94ae2ab0e5460b817ad7b670f071d904d8bab.zip mtk-20170518-70f94ae2ab0e5460b817ad7b670f071d904d8bab.tar.gz mtk-20170518-70f94ae2ab0e5460b817ad7b670f071d904d8bab.tar.bz2 |
add support for the Cavium Octeon SoC, tested on a Mototech evaluation board
SVN-Revision: 15640
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.patch | 26 |
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 0000000..27c9e79 --- /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 + |