ARM: shmobile: Use shmobile_init_late() on r8a7790 DT-only
authorMagnus Damm <damm+renesas@opensource.se>
Fri, 6 Jun 2014 06:13:47 +0000 (15:13 +0900)
committerSimon Horman <horms@verge.net.au>
Fri, 5 Dec 2014 00:24:44 +0000 (09:24 +0900)
Tie in shmobile_init_late for the DT-only r8a7790 SoC
Multiplatform support code. This will make sure that
Suspend-to-RAM, CPUIdle and CPUFreq get initialized.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(cherry picked from commit 7d95b9ddfb933f94354fa2ff9b1bfccdd6c54653)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/setup-r8a7790.c

index 4212c8d..516b4e4 100644 (file)
@@ -326,6 +326,7 @@ DT_MACHINE_START(R8A7790_DT, "Generic R8A7790 (Flattened Device Tree)")
        .smp            = smp_ops(r8a7790_smp_ops),
        .init_early     = r8a7790_init_early,
        .init_time      = rcar_gen2_timer_init,
+       .init_late      = shmobile_init_late,
        .dt_compat      = r8a7790_boards_compat_dt,
 MACHINE_END
 #endif /* CONFIG_USE_OF */