diff options
Diffstat (limited to 'arch/arm/mach-ixp4xx/common.c')
-rw-r--r-- | arch/arm/mach-ixp4xx/common.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-ixp4xx/common.c b/arch/arm/mach-ixp4xx/common.c index 1cf3bde1a5d2..2ec9a9e9a04d 100644 --- a/arch/arm/mach-ixp4xx/common.c +++ b/arch/arm/mach-ixp4xx/common.c | |||
@@ -40,6 +40,8 @@ | |||
40 | #include <asm/mach/irq.h> | 40 | #include <asm/mach/irq.h> |
41 | #include <asm/mach/time.h> | 41 | #include <asm/mach/time.h> |
42 | 42 | ||
43 | static int __init ixp4xx_clocksource_init(void); | ||
44 | |||
43 | /************************************************************************* | 45 | /************************************************************************* |
44 | * IXP4xx chipset I/O mapping | 46 | * IXP4xx chipset I/O mapping |
45 | *************************************************************************/ | 47 | *************************************************************************/ |
@@ -281,6 +283,8 @@ static void __init ixp4xx_timer_init(void) | |||
281 | 283 | ||
282 | /* Connect the interrupt handler and enable the interrupt */ | 284 | /* Connect the interrupt handler and enable the interrupt */ |
283 | setup_irq(IRQ_IXP4XX_TIMER1, &ixp4xx_timer_irq); | 285 | setup_irq(IRQ_IXP4XX_TIMER1, &ixp4xx_timer_irq); |
286 | |||
287 | ixp4xx_clocksource_init(); | ||
284 | } | 288 | } |
285 | 289 | ||
286 | struct sys_timer ixp4xx_timer = { | 290 | struct sys_timer ixp4xx_timer = { |
@@ -404,5 +408,3 @@ static int __init ixp4xx_clocksource_init(void) | |||
404 | 408 | ||
405 | return 0; | 409 | return 0; |
406 | } | 410 | } |
407 | |||
408 | device_initcall(ixp4xx_clocksource_init); | ||