diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2015-01-15 09:59:27 -0500 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2015-01-16 12:08:40 -0500 |
commit | 4db0ba22da9f4406c292a6a6110eeb2edd12f16a (patch) | |
tree | 75afb7f5018a3eaeb7f2328c13d7a43f5247c2fa /arch/arm/mach-at91/board-dt-sama5.c | |
parent | a63ba4114690cad6e71cbcfd187b0ebf20321dfa (diff) |
ARM: at91: pm: prepare for multiplatform
Split at91_pm_init() in three variants that are called by the respective SoCs
.init_machine. This allows to remove the of_machine_is_compatible() calls and
move at91_pm_init() out of arch_initcall() which is required for multiplatform.
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/mach-at91/board-dt-sama5.c')
-rw-r--r-- | arch/arm/mach-at91/board-dt-sama5.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/board-dt-sama5.c b/arch/arm/mach-at91/board-dt-sama5.c index 8fb9ef5333f1..44d372a22a29 100644 --- a/arch/arm/mach-at91/board-dt-sama5.c +++ b/arch/arm/mach-at91/board-dt-sama5.c | |||
@@ -28,6 +28,7 @@ | |||
28 | 28 | ||
29 | static void __init sama5_dt_device_init(void) | 29 | static void __init sama5_dt_device_init(void) |
30 | { | 30 | { |
31 | at91_sam9260_pm_init(); | ||
31 | of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); | 32 | of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); |
32 | } | 33 | } |
33 | 34 | ||