From: John Crispin Date: Sun, 16 Mar 2014 04:38:07 +0000 (+0000) Subject: MIPS: ralink: add missing clk_set_rate() to clk.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a8b6204761dba0cbf7b859b4f8d3dd52624b4100;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git 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 --- 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;