提交 96c61242 编写于 作者: S Steven King 提交者: Greg Ungerer

m68knommu: export clk_* symbols in clk.c

export the clk_*  stubs defined in arch/m68knommu/platform/coldfire/clk.c so
they can be used by modules.
Signed-off-by: NSteven King <sfking@fdwdc.com>
Signed-off-by: NGreg Ungerer <gerg@goober.(none)>
上级 53749f73
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
/***************************************************************************/ /***************************************************************************/
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/module.h>
#include <linux/clk.h> #include <linux/clk.h>
#include <asm/coldfire.h> #include <asm/coldfire.h>
...@@ -18,23 +19,27 @@ struct clk *clk_get(struct device *dev, const char *id) ...@@ -18,23 +19,27 @@ struct clk *clk_get(struct device *dev, const char *id)
{ {
return NULL; return NULL;
} }
EXPORT_SYMBOL(clk_get);
int clk_enable(struct clk *clk) int clk_enable(struct clk *clk)
{ {
return 0; return 0;
} }
EXPORT_SYMBOL(clk_enable);
void clk_disable(struct clk *clk) void clk_disable(struct clk *clk)
{ {
} }
EXPORT_SYMBOL(clk_disable);
void clk_put(struct clk *clk) void clk_put(struct clk *clk)
{ {
} }
EXPORT_SYMBOL(clk_put);
unsigned long clk_get_rate(struct clk *clk) unsigned long clk_get_rate(struct clk *clk)
{ {
return MCF_CLK; return MCF_CLK;
} }
EXPORT_SYMBOL(clk_get_rate);
/***************************************************************************/ /***************************************************************************/
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册