summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-versatile/core.c
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2015-03-10 20:59:05 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2015-03-11 09:36:26 +0100
commit0ca1bc43e87f6e9899383995a4b22541348b568e (patch)
tree5167e5cae2f002ccdceb84ea3ae5c857867ea136 /arch/arm/mach-versatile/core.c
parent444e04ff9023cb85e1acd5cef3a9b7c366b2eb25 (diff)
downloadbarebox-0ca1bc43e87f6e9899383995a4b22541348b568e.tar.gz
barebox-0ca1bc43e87f6e9899383995a4b22541348b568e.tar.xz
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 <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-versatile/core.c')
-rw-r--r--arch/arm/mach-versatile/core.c6
1 files changed, 6 insertions, 0 deletions
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;