From 0ca1bc43e87f6e9899383995a4b22541348b568e Mon Sep 17 00:00:00 2001 From: Lucas Stach Date: Tue, 10 Mar 2015 20:59:05 +0100 Subject: ARM: versatile: provide clk_set_rate stub Some drivers depend on this symbol and this fixes a failure to link them. Signed-off-by: Lucas Stach Signed-off-by: Sascha Hauer --- arch/arm/mach-versatile/core.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'arch') diff --git a/arch/arm/mach-versatile/core.c b/arch/arm/mach-versatile/core.c index 253e408db9..c671aa6173 100644 --- a/arch/arm/mach-versatile/core.c +++ b/arch/arm/mach-versatile/core.c @@ -57,6 +57,12 @@ unsigned long clk_get_rate(struct clk *clk) EXPORT_SYMBOL(clk_get_rate); /* enable and disable do nothing */ +int clk_set_rate(struct clk *clk, unsigned long rate) +{ + return 0; +} +EXPORT_SYMBOL(clk_set_rate); + int clk_enable(struct clk *clk) { return 0; -- cgit v1.2.3