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@xxxxxxxxxxx> --- arch/mips/ralink/clk.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/mips/ralink/clk.c b/arch/mips/ralink/clk.c index ebaa7cc..64c3db5 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; -- 1.7.10.4