| From 89cefdfa9cf24f021d9aa0d3d4a8f1d540f23b7b Mon Sep 17 00:00:00 2001 |
| From: Magnus Damm <damm+renesas@opensource.se> |
| Date: Mon, 12 May 2014 08:10:50 +0900 |
| Subject: ARM: shmobile: Use shmobile_init_late() on r8a7740 |
| |
| 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> |
| (cherry picked from commit 34b9fa401eeef4e388bb7563110733c73c452c80) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| --- |
| arch/arm/mach-shmobile/setup-r8a7740.c | 1 + |
| 1 file changed, 1 insertion(+) |
| |
| diff --git a/arch/arm/mach-shmobile/setup-r8a7740.c b/arch/arm/mach-shmobile/setup-r8a7740.c |
| index c96099e3638c..35dec233301e 100644 |
| --- a/arch/arm/mach-shmobile/setup-r8a7740.c |
| +++ b/arch/arm/mach-shmobile/setup-r8a7740.c |
| @@ -839,6 +839,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 |
| |
| -- |
| 2.1.2 |
| |