summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-03-16 05:38:07 +0100
committerRalf Baechle <ralf@linux-mips.org>2014-11-24 07:45:20 +0100
commita8b6204761dba0cbf7b859b4f8d3dd52624b4100 (patch)
treef8bf42c792b2d3bbcd59d6d10d4dbc28bd0e6abf /arch
parentMIPS: ralink: allow manual memory override (diff)
downloadlinux-a8b6204761dba0cbf7b859b4f8d3dd52624b4100.tar.xz
linux-a8b6204761dba0cbf7b859b4f8d3dd52624b4100.zip
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')
-rw-r--r--arch/mips/ralink/clk.c6
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;