ramips: add missing clk_round_rate function to fix buildbot errors

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48024
lede-17.01
Felix Fietkau 2016-01-01 14:33:09 +00:00
parent 28ec4e0e71
commit f3bbb73a20
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,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;