diff options
author | John Crispin | 2014-03-16 04:38:07 +0000 |
---|---|---|
committer | Ralf Baechle | 2014-11-24 07:45:20 +0100 |
commit | a8b6204761dba0cbf7b859b4f8d3dd52624b4100 (patch) | |
tree | f8bf42c792b2d3bbcd59d6d10d4dbc28bd0e6abf /arch/mips/ralink | |
parent | 15d11120703df3e78c766c7247058f4903001c56 (diff) |
MIPS: ralink: add missing clk_set_rate() to clk.c
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>
Diffstat (limited to 'arch/mips/ralink')
-rw-r--r-- | arch/mips/ralink/clk.c | 6 |
1 files changed, 6 insertions, 0 deletions
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; |