提交 25cb3b4c 编写于 作者: O Ola Lilja 提交者: Linus Walleij

ARM: ux500: Add placeholder for clk_set_parent

Calling clk_set_parent (e.g. from Ux500 ASoC-driver) generates
build-errors.
Signed-off-by: NOla Lilja <ola.o.lilja@stericsson.com>
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 b01543df
...@@ -223,6 +223,13 @@ int clk_set_rate(struct clk *clk, unsigned long rate) ...@@ -223,6 +223,13 @@ int clk_set_rate(struct clk *clk, unsigned long rate)
} }
EXPORT_SYMBOL(clk_set_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) static void clk_prcmu_enable(struct clk *clk)
{ {
void __iomem *cg_set_reg = __io_address(U8500_PRCMU_BASE) void __iomem *cg_set_reg = __io_address(U8500_PRCMU_BASE)
......
...@@ -21,6 +21,7 @@ struct clkops { ...@@ -21,6 +21,7 @@ struct clkops {
void (*enable) (struct clk *); void (*enable) (struct clk *);
void (*disable) (struct clk *); void (*disable) (struct clk *);
unsigned long (*get_rate) (struct clk *); unsigned long (*get_rate) (struct clk *);
int (*set_parent)(struct clk *, struct clk *);
}; };
/** /**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册