summaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500/clock.c
diff options
context:
space:
mode:
authorOla Lilja <ola.o.lilja@stericsson.com>2012-01-30 15:18:14 +0100
committerLinus Walleij <linus.walleij@linaro.org>2012-02-29 16:32:34 +0100
commit25cb3b4cf0ac65565384d10110ffa36018d83792 (patch)
treeca3edfdf586116bc09293eda6f0069e7e8c9e37d /arch/arm/mach-ux500/clock.c
parentb01543dfe67bb1d191998e90d20534dc354de059 (diff)
ARM: ux500: Add placeholder for clk_set_parent
Calling clk_set_parent (e.g. from Ux500 ASoC-driver) generates build-errors. Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-ux500/clock.c')
-rw-r--r--arch/arm/mach-ux500/clock.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/clock.c b/arch/arm/mach-ux500/clock.c
index 737907537004..ec35f0aa5665 100644
--- a/arch/arm/mach-ux500/clock.c
+++ b/arch/arm/mach-ux500/clock.c
@@ -223,6 +223,13 @@ int clk_set_rate(struct clk *clk, unsigned long rate)
}
EXPORT_SYMBOL(clk_set_rate);
+int clk_set_parent(struct clk *clk, struct clk *parent)
+{
+ /*TODO*/
+ return -ENOSYS;
+}
+EXPORT_SYMBOL(clk_set_parent);
+
static void clk_prcmu_enable(struct clk *clk)
{
void __iomem *cg_set_reg = __io_address(U8500_PRCMU_BASE)