ARM: ux500: Add placeholder for clk_set_parent
authorOla Lilja <ola.o.lilja@stericsson.com>
Mon, 30 Jan 2012 14:18:14 +0000 (15:18 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 29 Feb 2012 15:32:34 +0000 (16:32 +0100)
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>
arch/arm/mach-ux500/clock.c
arch/arm/mach-ux500/clock.h

index 7379075370040f623842f07a78724657131cdbce..ec35f0aa5665a99d23f11c73ec552ab6e83f3aca 100644 (file)
@@ -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)
index 074490705229a73a987b380441ad569d083d8ef1..d776ada08dbf1062b0cb8d5733a31c00dcc7a78b 100644 (file)
@@ -21,6 +21,7 @@ struct clkops {
        void (*enable) (struct clk *);
        void (*disable) (struct clk *);
        unsigned long (*get_rate) (struct clk *);
+       int (*set_parent)(struct clk *, struct clk *);
 };
 
 /**
This page took 0.084534 seconds and 5 git commands to generate.