aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-01 14:33:09 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-01-01 14:33:09 +0000
commit40c5029e2fb3094774d0594c06aae7d672a722cb (patch)
treed2c4f1cf170d0726bd03f3e54d3abf8e307165b4 /target/linux
parentffadd1bb3cdca80b061bff75a2ce3e7714788041 (diff)
downloadmaster-187ad058-40c5029e2fb3094774d0594c06aae7d672a722cb.tar.gz
master-187ad058-40c5029e2fb3094774d0594c06aae7d672a722cb.tar.bz2
master-187ad058-40c5029e2fb3094774d0594c06aae7d672a722cb.zip
ramips: add missing clk_round_rate function to fix buildbot errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48024 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ramips/patches-4.3/0064-add_clk_round_rate.patch15
1 files changed, 15 insertions, 0 deletions
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
index 0000000000..86d98b087c
--- /dev/null
+++ b/target/linux/ramips/patches-4.3/0064-add_clk_round_rate.patch
@@ -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;