summaryrefslogtreecommitdiff
path: root/arch/arm/mach-w90x900/clock.c
diff options
context:
space:
mode:
authorwanzongshun <mcuos.com@gmail.com>2009-08-14 15:36:44 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-08-15 15:49:02 +0100
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)
}
EXPORT_SYMBOL(clk_disable);
+unsigned long clk_get_rate(struct clk *clk)
+{
+ return 15000000;
+}
+EXPORT_SYMBOL(clk_get_rate);
+
void w90x900_clk_enable(struct clk *clk, int enable)
{
unsigned int clocks = clk->cken;