From a8b6204761dba0cbf7b859b4f8d3dd52624b4100 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Sun, 16 Mar 2014 04:38:07 +0000 Subject: [PATCH] MIPS: ralink: add missing clk_set_rate() to clk.c This function was missing causing make allmod to fail. Signed-off-by: John Crispin Patchwork: http://patchwork.linux-mips.org/patch/8005/ Signed-off-by: Ralf Baechle --- 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 5d0983d47161..feb5a9bf98b4 100644 --- a/arch/mips/ralink/clk.c +++ b/arch/mips/ralink/clk.c @@ -56,6 +56,12 @@ unsigned long clk_get_rate(struct clk *clk) } EXPORT_SYMBOL_GPL(clk_get_rate); +int clk_set_rate(struct clk *clk, unsigned long rate) +{ + return -1; +} +EXPORT_SYMBOL_GPL(clk_set_rate); + void __init plat_time_init(void) { struct clk *clk; -- 2.39.5