diff options
author | Steven King <sfking@fdwdc.com> | 2009-11-13 12:18:37 -0800 |
---|---|---|
committer | Greg Ungerer <gerg@goober.(none)> | 2009-12-04 11:45:32 +1000 |
commit | 96c612427edab65dddd88ad61d732501cc5f128d (patch) | |
tree | 34e6c08f7276300816550df5ec795462339a331b /arch/m68knommu/platform/coldfire/clk.c | |
parent | 53749f735a5b79156b56e75ee379be9e299b5e4b (diff) | |
download | lwn-96c612427edab65dddd88ad61d732501cc5f128d.tar.gz lwn-96c612427edab65dddd88ad61d732501cc5f128d.zip |
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)>
Diffstat (limited to 'arch/m68knommu/platform/coldfire/clk.c')
-rw-r--r-- | arch/m68knommu/platform/coldfire/clk.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/m68knommu/platform/coldfire/clk.c b/arch/m68knommu/platform/coldfire/clk.c index 7cdbf445b28f..9f1260c5e2ad 100644 --- a/arch/m68knommu/platform/coldfire/clk.c +++ b/arch/m68knommu/platform/coldfire/clk.c @@ -9,6 +9,7 @@ /***************************************************************************/ #include <linux/kernel.h> +#include <linux/module.h> #include <linux/clk.h> #include <asm/coldfire.h> @@ -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); /***************************************************************************/ |