aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/patches-4.9/0064-add_clk_round_rate.patch
blob: 86d98b087c016fbbb7abe948ff8122606d7a07a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- a/arch/mips/ralink/clk.c
+++ b/arch/mips/ralink/clk.c
@@ -62,6 +62,12 @@ int clk_set_rate(struct clk *clk, unsign
 }
 EXPORT_SYMBOL_GPL(clk_set_rate);
 
+long clk_round_rate(struct clk *clk, unsigned long rate)
+{
+	return -1;
+}
+EXPORT_SYMBOL_GPL(clk_round_rate);
+
 void __init plat_time_init(void)
 {
 	struct clk *clk;