diff options
author | Nicolas Ferre <nicolas.ferre@atmel.com> | 2015-01-23 13:47:37 +0300 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2015-01-26 15:43:35 +0300 |
commit | ea69f998499d556251d1e2843953cc4f85788464 (patch) | |
tree | 02c34ddbad3f14ccc155a05b15ff6a7cba6e167a /arch/arm/mach-at91/board-dt-sama5.c | |
parent | b9f122cc63ef7f30919b628bee48ab31501e3408 (diff) | |
download | linux-ea69f998499d556251d1e2843953cc4f85788464.tar.xz |
ARM: at91: fix ordering of SRAM and PM initialization
The PM initialization needs internal SRAM for allocating a gen_pool and
use it to store its PM code. So we need to have of_platform_populate() before
this code.
Suggested-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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/board-dt-sama5.c b/arch/arm/mach-at91/board-dt-sama5.c index b7338966c8ab..86cffcdef145 100644 --- a/arch/arm/mach-at91/board-dt-sama5.c +++ b/arch/arm/mach-at91/board-dt-sama5.c @@ -28,8 +28,8 @@ static void __init sama5_dt_device_init(void) { - at91_sam9x5_pm_init(); of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); + at91_sam9x5_pm_init(); } static const char *sama5_dt_board_compat[] __initconst = { |