diff options
author | Dmitry Baryshkov <dbaryshkov@gmail.com> | 2008-07-10 09:44:23 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-07-10 09:50:21 -0400 |
commit | 0c5d5b70449eddb7e2c8a5fdaf71b6108c1a9afc (patch) | |
tree | 544beae8ca469a7c9dd8a48c99b8658fb94e74ca | |
parent | 543cf4cb3fe6f6cae3651ba918b9c56200b257d0 (diff) |
[ARM] 5171/1: ep93xx: fix compilation of modules using clocks
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r-- | arch/arm/mach-ep93xx/clock.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-ep93xx/clock.c b/arch/arm/mach-ep93xx/clock.c index 9d7515c36bff..f62c35500bb7 100644 --- a/arch/arm/mach-ep93xx/clock.c +++ b/arch/arm/mach-ep93xx/clock.c | |||
@@ -74,6 +74,7 @@ struct clk *clk_get(struct device *dev, const char *id) | |||
74 | 74 | ||
75 | return ERR_PTR(-ENOENT); | 75 | return ERR_PTR(-ENOENT); |
76 | } | 76 | } |
77 | EXPORT_SYMBOL(clk_get); | ||
77 | 78 | ||
78 | int clk_enable(struct clk *clk) | 79 | int clk_enable(struct clk *clk) |
79 | { | 80 | { |
@@ -86,6 +87,7 @@ int clk_enable(struct clk *clk) | |||
86 | 87 | ||
87 | return 0; | 88 | return 0; |
88 | } | 89 | } |
90 | EXPORT_SYMBOL(clk_enable); | ||
89 | 91 | ||
90 | void clk_disable(struct clk *clk) | 92 | void clk_disable(struct clk *clk) |
91 | { | 93 | { |
@@ -96,15 +98,18 @@ void clk_disable(struct clk *clk) | |||
96 | __raw_writel(value & ~clk->enable_mask, clk->enable_reg); | 98 | __raw_writel(value & ~clk->enable_mask, clk->enable_reg); |
97 | } | 99 | } |
98 | } | 100 | } |
101 | EXPORT_SYMBOL(clk_disable); | ||
99 | 102 | ||
100 | unsigned long clk_get_rate(struct clk *clk) | 103 | unsigned long clk_get_rate(struct clk *clk) |
101 | { | 104 | { |
102 | return clk->rate; | 105 | return clk->rate; |
103 | } | 106 | } |
107 | EXPORT_SYMBOL(clk_get_rate); | ||
104 | 108 | ||
105 | void clk_put(struct clk *clk) | 109 | void clk_put(struct clk *clk) |
106 | { | 110 | { |
107 | } | 111 | } |
112 | EXPORT_SYMBOL(clk_put); | ||
108 | 113 | ||
109 | 114 | ||
110 | 115 | ||