diff options
author | Felipe Balbi <felipe.balbi@nokia.com> | 2010-04-07 09:57:23 +0000 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-04-22 17:32:36 -0700 |
commit | 46cdc4e431536c279b1ce00520d6fe6e9ca42b04 (patch) | |
tree | 5552583c8025c52a9d53a9b3a0ad2c55b33d167e | |
parent | 2decb12e3ebec556520dd92178572449af8ed617 (diff) | |
download | blackbird-op-linux-46cdc4e431536c279b1ce00520d6fe6e9ca42b04.tar.gz blackbird-op-linux-46cdc4e431536c279b1ce00520d6fe6e9ca42b04.zip |
arm: omap1: remove dead code from timer32k.c
Trivial patch, no functional changes
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r-- | arch/arm/mach-omap1/timer32k.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/arm/mach-omap1/timer32k.c b/arch/arm/mach-omap1/timer32k.c index 9ad118563f7d..20cfbcc6c60c 100644 --- a/arch/arm/mach-omap1/timer32k.c +++ b/arch/arm/mach-omap1/timer32k.c @@ -68,12 +68,6 @@ struct sys_timer omap_timer; * --------------------------------------------------------------------------- */ -#if defined(CONFIG_ARCH_OMAP16XX) -#define TIMER_32K_SYNCHRONIZED 0xfffbc410 -#else -#error OMAP 32KHz timer does not currently work on 15XX! -#endif - /* 16xx specific defines */ #define OMAP1_32K_TIMER_BASE 0xfffb9000 #define OMAP1_32K_TIMER_CR 0x08 @@ -150,15 +144,6 @@ static struct clock_event_device clockevent_32k_timer = { .set_mode = omap_32k_timer_set_mode, }; -/* - * The 32KHz synchronized timer is an additional timer on 16xx. - * It is always running. - */ -static inline unsigned long omap_32k_sync_timer_read(void) -{ - return omap_readl(TIMER_32K_SYNCHRONIZED); -} - static irqreturn_t omap_32k_timer_interrupt(int irq, void *dev_id) { struct clock_event_device *evt = &clockevent_32k_timer; |