diff options
author | wanzongshun <mcuos.com@gmail.com> | 2009-08-14 10:36:44 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-08-15 10:49:02 -0400 |
commit | 58b5369e6eb6c889b540a99aa95562a66b25acf1 (patch) | |
tree | 2fd98268bc19e2e7de3b7cafb09229975fada364 /arch/arm/mach-w90x900/clock.c | |
parent | ae45b1c618d9e645a5e1decff31b710f739745fa (diff) |
ARM: 5674/1: Add clocksource/clockevent support for w90p910 platform
Add clocksource/clockevent support for w90p910 platform.
Signed-off-by: Wan ZongShun <mcuos.com@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-w90x900/clock.c')
-rw-r--r-- | arch/arm/mach-w90x900/clock.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-w90x900/clock.c b/arch/arm/mach-w90x900/clock.c index 49cf1fbc14eb..70b671096377 100644 --- a/arch/arm/mach-w90x900/clock.c +++ b/arch/arm/mach-w90x900/clock.c | |||
@@ -55,6 +55,12 @@ void clk_disable(struct clk *clk) | |||
55 | } | 55 | } |
56 | EXPORT_SYMBOL(clk_disable); | 56 | EXPORT_SYMBOL(clk_disable); |
57 | 57 | ||
58 | unsigned long clk_get_rate(struct clk *clk) | ||
59 | { | ||
60 | return 15000000; | ||
61 | } | ||
62 | EXPORT_SYMBOL(clk_get_rate); | ||
63 | |||
58 | void w90x900_clk_enable(struct clk *clk, int enable) | 64 | void w90x900_clk_enable(struct clk *clk, int enable) |
59 | { | 65 | { |
60 | unsigned int clocks = clk->cken; | 66 | unsigned int clocks = clk->cken; |