summaryrefslogtreecommitdiff
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-03-12 19:33:01 +0000
committerJohn Crispin <john@openwrt.org>2014-03-12 19:33:01 +0000
commit375e02ac3d473917f7e4f88f3b7326c86eeeba29 (patch)
treea04dfc04d54a4df4ea9ea294efe41ce4ff44a29a /target/linux/ramips
parent0dc9d8d6ffcdbdfda2723676f6ffc825a48a18b7 (diff)
downloadmtk-20170518-375e02ac3d473917f7e4f88f3b7326c86eeeba29.zip
mtk-20170518-375e02ac3d473917f7e4f88f3b7326c86eeeba29.tar.gz
mtk-20170518-375e02ac3d473917f7e4f88f3b7326c86eeeba29.tar.bz2
ralink: add missing clk_set_rate()
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39896
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/patches-3.10/999-clk.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/target/linux/ramips/patches-3.10/999-clk.patch b/target/linux/ramips/patches-3.10/999-clk.patch
new file mode 100644
index 0000000..22ac33a
--- /dev/null
+++ b/target/linux/ramips/patches-3.10/999-clk.patch
@@ -0,0 +1,17 @@
+Index: linux-3.10.32/arch/mips/ralink/clk.c
+===================================================================
+--- linux-3.10.32.orig/arch/mips/ralink/clk.c 2014-03-12 03:04:05.468396764 +0000
++++ linux-3.10.32/arch/mips/ralink/clk.c 2014-03-12 03:29:00.220416177 +0000
+@@ -56,6 +56,12 @@
+ }
+ EXPORT_SYMBOL_GPL(clk_get_rate);
+
++int clk_set_rate(struct clk *clk, unsigned long rate)
++{
++ return -1;
++}
++EXPORT_SYMBOL_GPL(clk_set_rate);
++
+ void __init plat_time_init(void)
+ {
+ struct clk *clk;