ralink: add missing clk_set_rate()
[openwrt/staging/wigyori.git] / target / linux / ramips / patches-3.10 / 999-clk.patch
1 Index: linux-3.10.32/arch/mips/ralink/clk.c
2 ===================================================================
3 --- linux-3.10.32.orig/arch/mips/ralink/clk.c 2014-03-12 03:04:05.468396764 +0000
4 +++ linux-3.10.32/arch/mips/ralink/clk.c 2014-03-12 03:29:00.220416177 +0000
5 @@ -56,6 +56,12 @@
6 }
7 EXPORT_SYMBOL_GPL(clk_get_rate);
8
9 +int clk_set_rate(struct clk *clk, unsigned long rate)
10 +{
11 + return -1;
12 +}
13 +EXPORT_SYMBOL_GPL(clk_set_rate);
14 +
15 void __init plat_time_init(void)
16 {
17 struct clk *clk;