diff options
author | Tony Lindgren <tony@atomide.com> | 2011-05-17 06:51:26 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-06-16 08:42:09 -0400 |
commit | 741e3a89dee8a17aa9373975d51f130a65e1683d (patch) | |
tree | 957bb18910ad8412f3f308f18e80aaa37b7bd96a /arch/arm/mach-omap2/board-omap3pandora.c | |
parent | 2c53b436a30867eb6b47dd7bab23ba638d1fb0d2 (diff) |
omap: Use separate init_irq functions to avoid cpu_is_omap tests early
This allows us to remove cpu_is_omap calls from init_irq functions.
There should not be any need for cpu_is_omap calls as at this point.
During the timer init we only care about SoC generation, and not about
subrevisions.
The main reason for the patch is that we want to initialize only
minimal omap specific code from the init_early call.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-omap3pandora.c')
-rw-r--r-- | arch/arm/mach-omap2/board-omap3pandora.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/board-omap3pandora.c b/arch/arm/mach-omap2/board-omap3pandora.c index 2a0bb4818cae..7b4e1391ee80 100644 --- a/arch/arm/mach-omap2/board-omap3pandora.c +++ b/arch/arm/mach-omap2/board-omap3pandora.c | |||
@@ -642,7 +642,7 @@ MACHINE_START(OMAP3_PANDORA, "Pandora Handheld Console") | |||
642 | .reserve = omap_reserve, | 642 | .reserve = omap_reserve, |
643 | .map_io = omap3_map_io, | 643 | .map_io = omap3_map_io, |
644 | .init_early = omap3pandora_init_early, | 644 | .init_early = omap3pandora_init_early, |
645 | .init_irq = omap_init_irq, | 645 | .init_irq = omap3_init_irq, |
646 | .init_machine = omap3pandora_init, | 646 | .init_machine = omap3pandora_init, |
647 | .timer = &omap_timer, | 647 | .timer = &omap_timer, |
648 | MACHINE_END | 648 | MACHINE_END |