ARM: shmobile: Use shmobile_init_late() on r8a7740
authorMagnus Damm <damm+renesas@opensource.se>
Sun, 11 May 2014 23:10:50 +0000 (08:10 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 13 May 2014 08:10:01 +0000 (17:10 +0900)
Hook up ->init_late for r8a7740 to initialize Suspend-to-RAM
and CPUIdle in case of C-code less board support for r8a7740.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/setup-r8a7740.c

index eaec04346ea65e082bf852d2e7932ff3d1649976..7bdc51c195c759d61a1f848c8a9be9733941376f 100644 (file)
@@ -933,6 +933,7 @@ DT_MACHINE_START(R8A7740_DT, "Generic R8A7740 (Flattened Device Tree)")
        .init_early     = shmobile_init_delay,
        .init_irq       = r8a7740_init_irq_of,
        .init_machine   = r8a7740_generic_init,
+       .init_late      = shmobile_init_late,
        .dt_compat      = r8a7740_boards_compat_dt,
 MACHINE_END