summaryrefslogtreecommitdiff
path: root/target/linux/ramips/patches-3.10/999-clk.patch
blob: 22ac33aa54abd03c9b7c3fb4142b765fe31241bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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;