diff options
author | Felix Fietkau <nbd@openwrt.org> | 2016-01-01 14:33:09 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2016-01-01 14:33:09 +0000 |
commit | f3bbb73a2062972ceb9e211c39764bec2cd4cb77 (patch) | |
tree | deeea0da2bd52b5ebcf2d3ce137025119d9db31d /target | |
parent | 28ec4e0e714d0393655d8609d0dd5022a5ef2ed9 (diff) | |
download | upstream-f3bbb73a2062972ceb9e211c39764bec2cd4cb77.tar.gz upstream-f3bbb73a2062972ceb9e211c39764bec2cd4cb77.tar.bz2 upstream-f3bbb73a2062972ceb9e211c39764bec2cd4cb77.zip |
ramips: add missing clk_round_rate function to fix buildbot errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48024
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ramips/patches-4.3/0064-add_clk_round_rate.patch | 15 |
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; |