diff options
author | wanzongshun <mcuos.com@gmail.com> | 2009-08-14 15:36:44 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-08-15 15:49:02 +0100 |
commit | 58b5369e6eb6c889b540a99aa95562a66b25acf1 (patch) | |
tree | 2fd98268bc19e2e7de3b7cafb09229975fada364 /arch/arm/mach-w90x900/clock.c | |
parent | ae45b1c618d9e645a5e1decff31b710f739745fa (diff) | |
download | op-kernel-dev-58b5369e6eb6c889b540a99aa95562a66b25acf1.zip op-kernel-dev-58b5369e6eb6c889b540a99aa95562a66b25acf1.tar.gz |
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 49cf1fb..70b6710 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; |