Skip to content

Commit

Permalink
[ARM] i.MX: add missing clock functions exports
Browse files Browse the repository at this point in the history
Export missing Clock API symbols.

Signed-off-by: Paulius Zaleckas <paulius.zaleckas@teltonika.lt>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
  • Loading branch information
Paulius Zaleckas authored and Sascha Hauer committed Jul 28, 2008
1 parent d7098e3 commit 79a13b2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arch/arm/mach-imx/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,24 +172,29 @@ struct clk *clk_get(struct device *dev, const char *id)

return clk;
}
EXPORT_SYMBOL(clk_get);

void clk_put(struct clk *clk)
{
}
EXPORT_SYMBOL(clk_put);

int clk_enable(struct clk *clk)
{
return 0;
}
EXPORT_SYMBOL(clk_enable);

void clk_disable(struct clk *clk)
{
}
EXPORT_SYMBOL(clk_disable);

unsigned long clk_get_rate(struct clk *clk)
{
return clk->get_rate();
}
EXPORT_SYMBOL(clk_get_rate);

int imx_clocks_init(void)
{
Expand Down

0 comments on commit 79a13b2

Please sign in to comment.