aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-w90x900/clock.c
diff options
context:
space:
mode:
authorwanzongshun <mcuos.com@gmail.com>2009-08-14 10:36:44 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-08-15 10:49:02 -0400
commit58b5369e6eb6c889b540a99aa95562a66b25acf1 (patch)
tree2fd98268bc19e2e7de3b7cafb09229975fada364 /arch/arm/mach-w90x900/clock.c
parentae45b1c618d9e645a5e1decff31b710f739745fa (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.c6
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}
56EXPORT_SYMBOL(clk_disable); 56EXPORT_SYMBOL(clk_disable);
57 57
58unsigned long clk_get_rate(struct clk *clk)
59{
60 return 15000000;
61}
62EXPORT_SYMBOL(clk_get_rate);
63
58void w90x900_clk_enable(struct clk *clk, int enable) 64void w90x900_clk_enable(struct clk *clk, int enable)
59{ 65{
60 unsigned int clocks = clk->cken; 66 unsigned int clocks = clk->cken;