omap2+: fix build regression
authorArnd Bergmann <arnd@arndb.de>
Thu, 30 Jun 2011 12:58:01 +0000 (12:58 +0000)
committerArnd Bergmann <arnd@arndb.de>
Thu, 30 Jun 2011 12:58:01 +0000 (12:58 +0000)
board-generic.c now contains a reference to omap3_timer, but depends
only on ARCH_OMAP2, not on ARCH_OMAP3, which controls that symbol.
omap2_timer seems to be more appropriate anyway, so use that instead.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-generic.c

index c6ecf607ebd666390d3172c5998c23d24b0fd93b..54db41a84a9bc71b07c44b874b0c58a1fad91a1a 100644 (file)
@@ -72,5 +72,5 @@ MACHINE_START(OMAP_GENERIC, "Generic OMAP24xx")
        .init_early     = omap_generic_init_early,
        .init_irq       = omap2_init_irq,
        .init_machine   = omap_generic_init,
-       .timer          = &omap3_timer,
+       .timer          = &omap2_timer,
 MACHINE_END