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