diff options
author | Arnd Bergmann <arnd@arndb.de> | 2013-02-28 12:54:15 -0500 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2013-02-28 12:54:15 -0500 |
commit | 7266d48fca8ee2a15d15222c41f887e10db54c5a (patch) | |
tree | 775404bcbf8ce146ccaba905e841a3621ae7ce80 /arch/arm/mach-vexpress | |
parent | 168268a225d24da3768a88c1029fb3014b0837ca (diff) | |
parent | 90cf214d6a549bf482e3c5751ee256cc885b96ea (diff) |
Merge branch 'timer/cleanup' into late/mvebu2
Basing the mvebu patches on top of the timer cleanup
avoids some nasty merges.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-vexpress')
-rw-r--r-- | arch/arm/mach-vexpress/v2m.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/arch/arm/mach-vexpress/v2m.c b/arch/arm/mach-vexpress/v2m.c index 011661a6c5cb..08bd548ef144 100644 --- a/arch/arm/mach-vexpress/v2m.c +++ b/arch/arm/mach-vexpress/v2m.c | |||
@@ -291,10 +291,6 @@ static void __init v2m_timer_init(void) | |||
291 | v2m_sp804_init(ioremap(V2M_TIMER01, SZ_4K), IRQ_V2M_TIMER0); | 291 | v2m_sp804_init(ioremap(V2M_TIMER01, SZ_4K), IRQ_V2M_TIMER0); |
292 | } | 292 | } |
293 | 293 | ||
294 | static struct sys_timer v2m_timer = { | ||
295 | .init = v2m_timer_init, | ||
296 | }; | ||
297 | |||
298 | static void __init v2m_init_early(void) | 294 | static void __init v2m_init_early(void) |
299 | { | 295 | { |
300 | if (ct_desc->init_early) | 296 | if (ct_desc->init_early) |
@@ -376,7 +372,7 @@ MACHINE_START(VEXPRESS, "ARM-Versatile Express") | |||
376 | .map_io = v2m_map_io, | 372 | .map_io = v2m_map_io, |
377 | .init_early = v2m_init_early, | 373 | .init_early = v2m_init_early, |
378 | .init_irq = v2m_init_irq, | 374 | .init_irq = v2m_init_irq, |
379 | .timer = &v2m_timer, | 375 | .init_time = v2m_timer_init, |
380 | .handle_irq = gic_handle_irq, | 376 | .handle_irq = gic_handle_irq, |
381 | .init_machine = v2m_init, | 377 | .init_machine = v2m_init, |
382 | .restart = vexpress_restart, | 378 | .restart = vexpress_restart, |
@@ -468,10 +464,6 @@ static void __init v2m_dt_timer_init(void) | |||
468 | 24000000); | 464 | 24000000); |
469 | } | 465 | } |
470 | 466 | ||
471 | static struct sys_timer v2m_dt_timer = { | ||
472 | .init = v2m_dt_timer_init, | ||
473 | }; | ||
474 | |||
475 | static const struct of_device_id v2m_dt_bus_match[] __initconst = { | 467 | static const struct of_device_id v2m_dt_bus_match[] __initconst = { |
476 | { .compatible = "simple-bus", }, | 468 | { .compatible = "simple-bus", }, |
477 | { .compatible = "arm,amba-bus", }, | 469 | { .compatible = "arm,amba-bus", }, |
@@ -498,7 +490,7 @@ DT_MACHINE_START(VEXPRESS_DT, "ARM-Versatile Express") | |||
498 | .map_io = v2m_dt_map_io, | 490 | .map_io = v2m_dt_map_io, |
499 | .init_early = v2m_dt_init_early, | 491 | .init_early = v2m_dt_init_early, |
500 | .init_irq = v2m_dt_init_irq, | 492 | .init_irq = v2m_dt_init_irq, |
501 | .timer = &v2m_dt_timer, | 493 | .init_time = v2m_dt_timer_init, |
502 | .init_machine = v2m_dt_init, | 494 | .init_machine = v2m_dt_init, |
503 | .handle_irq = gic_handle_irq, | 495 | .handle_irq = gic_handle_irq, |
504 | .restart = vexpress_restart, | 496 | .restart = vexpress_restart, |