OSDN Git Service

MIPS: ralink: add missing clk_set_rate() to clk.c
authorJohn Crispin <blogic@openwrt.org>
Sun, 16 Mar 2014 04:38:07 +0000 (04:38 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 24 Nov 2014 06:45:20 +0000 (07:45 +0100)
This function was missing causing make allmod to fail.

Signed-off-by: John Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/8005/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/ralink/clk.c

index 5d0983d..feb5a9b 100644 (file)
@@ -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;