ARM: shmobile: sh7372: Add shmobile_init_late()
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 17 Oct 2014 12:22:37 +0000 (14:22 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 5 Dec 2014 08:33:24 +0000 (17:33 +0900)
Extend sh7372 SoC machine vector to include shmobile_init_late()
so Suspend-to-RAM and CPUIdle are setup as expected.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(cherry picked from commit 27c1bb20d45830a64bf344cc1cb5e0a745e2d206)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/setup-sh7372.c

index d646c8d..769ff00 100644 (file)
@@ -1012,6 +1012,7 @@ DT_MACHINE_START(SH7372_DT, "Generic SH7372 (Flattened Device Tree)")
        .init_irq       = sh7372_init_irq,
        .handle_irq     = shmobile_handle_irq_intc,
        .init_machine   = sh7372_add_standard_devices_dt,
+       .init_late      = shmobile_init_late,
        .dt_compat      = sh7372_boards_compat_dt,
 MACHINE_END