Commit 80e6321a authored by John Crispin's avatar John Crispin Committed by Ralf Baechle

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: default avatarJohn Crispin <john@phrozen.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/14900/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 58181a11
...@@ -62,6 +62,12 @@ int clk_set_rate(struct clk *clk, unsigned long rate) ...@@ -62,6 +62,12 @@ int clk_set_rate(struct clk *clk, unsigned long rate)
} }
EXPORT_SYMBOL_GPL(clk_set_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) void __init plat_time_init(void)
{ {
struct clk *clk; struct clk *clk;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment