浏览代码

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: Steven King <sfking@fdwdc.com>
Signed-off-by: Greg Ungerer <gerg@goober.(none)>
Steven King 15 年之前
父节点
当前提交
96c612427e
共有 1 个文件被更改,包括 6 次插入1 次删除
  1. 6 1
      arch/m68knommu/platform/coldfire/clk.c

+ 6 - 1
arch/m68knommu/platform/coldfire/clk.c

@@ -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)
 {
 {
 	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);
 /***************************************************************************/
 /***************************************************************************/