diff options
author | John Crispin <john@phrozen.org> | 2016-12-20 19:12:44 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2017-01-03 16:34:47 +0100 |
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) } 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; |