diff options
author | Tony Lindgren <tony@atomide.com> | 2011-03-30 00:54:48 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-06-20 10:25:39 +0200 |
commit | e74984e46e899c22137a385869fb4f3ae756e3df (patch) | |
tree | 2f40fe8d66afb676fefcf307b8df36b734c28ba3 /arch/arm/mach-omap2/board-am3517crane.c | |
parent | omap: Use separate init_irq functions to avoid cpu_is_omap tests early (diff) | |
download | linux-e74984e46e899c22137a385869fb4f3ae756e3df.tar.xz linux-e74984e46e899c22137a385869fb4f3ae756e3df.zip |
omap: Set separate timer init functions to avoid cpu_is_omap tests
This is needed for the following patches so we can initialize the
rest of the hardware timers later on.
As with the init_irq calls, there's no need to do cpu_is_omap calls
during the timer init as we only care about the major omap generation.
This means that we can initialize the sys_timer with the .timer
entries alone.
Note that for now we just set stubs for the various sys_timer entries
that will get populated in a later patch. The following patches will
also remove the omap_dm_timer_init calls and change the init for the
rest of the hardware timers to happen with an arch_initcall.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-am3517crane.c')
-rw-r--r-- | arch/arm/mach-omap2/board-am3517crane.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/board-am3517crane.c b/arch/arm/mach-omap2/board-am3517crane.c index 0bed0a4c8338..5f2b55ff04ff 100644 --- a/arch/arm/mach-omap2/board-am3517crane.c +++ b/arch/arm/mach-omap2/board-am3517crane.c @@ -106,5 +106,5 @@ MACHINE_START(CRANEBOARD, "AM3517/05 CRANEBOARD") .init_early = am3517_crane_init_early, .init_irq = omap3_init_irq, .init_machine = am3517_crane_init, - .timer = &omap_timer, + .timer = &omap3_timer, MACHINE_END |