diff options
author | John Crispin <john@phrozen.org> | 2016-12-20 13:12:44 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2017-01-03 10:34:47 -0500 |
commit | 80e6321abc859955331c78c93e442e72b942c5c1 (patch) | |
tree | 9fd439580e6555fc18b3d79087c468eb6f995e44 /arch/mips/ralink | |
parent | 58181a117d353427127a2e7afc7cf1ab44759828 (diff) |
MIPS: ralink: Add missing clk_round_rate().
As we dont use the common clock api yet we need to add this stub to allow
building drivers that use the API.
Signed-off-by: John Crispin <john@phrozen.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/14900/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/ralink')
-rw-r--r-- | arch/mips/ralink/clk.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/mips/ralink/clk.c b/arch/mips/ralink/clk.c index ebaa7cc0e995..64c3db5e8e8a 100644 --- a/arch/mips/ralink/clk.c +++ b/arch/mips/ralink/clk.c | |||
@@ -62,6 +62,12 @@ int clk_set_rate(struct clk *clk, unsigned long rate) | |||
62 | } | 62 | } |
63 | EXPORT_SYMBOL_GPL(clk_set_rate); | 63 | EXPORT_SYMBOL_GPL(clk_set_rate); |
64 | 64 | ||
65 | long clk_round_rate(struct clk *clk, unsigned long rate) | ||
66 | { | ||
67 | return -1; | ||
68 | } | ||
69 | EXPORT_SYMBOL_GPL(clk_round_rate); | ||
70 | |||
65 | void __init plat_time_init(void) | 71 | void __init plat_time_init(void) |
66 | { | 72 | { |
67 | struct clk *clk; | 73 | struct clk *clk; |