ramips: add missing clk_round_rate function to fix buildbot errors
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 1 Jan 2016 14:33:09 +0000 (14:33 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 1 Jan 2016 14:33:09 +0000 (14:33 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48024 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/ramips/patches-4.3/0064-add_clk_round_rate.patch [new file with mode: 0644]

diff --git a/target/linux/ramips/patches-4.3/0064-add_clk_round_rate.patch b/target/linux/ramips/patches-4.3/0064-add_clk_round_rate.patch
new file mode 100644 (file)
index 0000000..86d98b0
--- /dev/null
@@ -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;