summaryrefslogtreecommitdiff
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2014-03-12 19:33:01 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2014-03-12 19:33:01 +0000
commitf408dd6d0f6048a6fbaf4766e03dc0a3a3202a5e (patch)
treea93211376748604974a4f50aa499822dac14bd6e /target/linux/ramips
parent72ca3bfc401a4f1b695dcc86640dddee62716cea (diff)
ralink: add missing clk_set_rate()
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39896 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 0000000000..22ac33aa54
--- /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;