aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-lpc32xx/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-lpc32xx/timer.c')
-rw-r--r--arch/arm/mach-lpc32xx/timer.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/arm/mach-lpc32xx/timer.c b/arch/arm/mach-lpc32xx/timer.c
index c40667c33161..88bd4ce3b94a 100644
--- a/arch/arm/mach-lpc32xx/timer.c
+++ b/arch/arm/mach-lpc32xx/timer.c
@@ -100,7 +100,7 @@ static struct irqaction lpc32xx_timer_irq = {
100 * clocks need to be enabled here manually and then tagged as used in 100 * clocks need to be enabled here manually and then tagged as used in
101 * the clock driver initialization 101 * the clock driver initialization
102 */ 102 */
103static void __init lpc32xx_timer_init(void) 103void __init lpc32xx_timer_init(void)
104{ 104{
105 u32 clkrate, pllreg; 105 u32 clkrate, pllreg;
106 106
@@ -161,8 +161,3 @@ static void __init lpc32xx_timer_init(void)
161 clocksource_mmio_init(LPC32XX_TIMER_TC(LPC32XX_TIMER1_BASE), 161 clocksource_mmio_init(LPC32XX_TIMER_TC(LPC32XX_TIMER1_BASE),
162 "lpc32xx_clksrc", clkrate, 300, 32, clocksource_mmio_readl_up); 162 "lpc32xx_clksrc", clkrate, 300, 32, clocksource_mmio_readl_up);
163} 163}
164
165struct sys_timer lpc32xx_timer = {
166 .init = &lpc32xx_timer_init,
167};
168