Skip to content

Commit

Permalink
m68knommu: export clk_* symbols in clk.c
Browse files Browse the repository at this point in the history
export the clk_*  stubs defined in arch/m68knommu/platform/coldfire/clk.c so
they can be used by modules.

Signed-off-by: Steven King <sfking@fdwdc.com>
Signed-off-by: Greg Ungerer <gerg@goober.(none)>
  • Loading branch information
Steven King authored and Greg Ungerer committed Dec 4, 2009
1 parent 53749f7 commit 96c6124
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion arch/m68knommu/platform/coldfire/clk.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
/***************************************************************************/

#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/clk.h>
#include <asm/coldfire.h>

Expand All @@ -18,23 +19,27 @@ struct clk *clk_get(struct device *dev, const char *id)
{
return NULL;
}
EXPORT_SYMBOL(clk_get);

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

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

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

unsigned long clk_get_rate(struct clk *clk)
{
return MCF_CLK;
}

EXPORT_SYMBOL(clk_get_rate);
/***************************************************************************/

0 comments on commit 96c6124

Please sign in to comment.