Commit 4fe604c8 authored by Alexandre Belloni's avatar Alexandre Belloni Committed by Nicolas Ferre

ARM: at91: fix sam9n12 and sam9x5 arm_pm_idle

sam9n12 and sam9x5 don't set arm_pm_idle because of an oversight, fix that.
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
Suggested-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
parent 37e9c4d9
...@@ -15,6 +15,11 @@ ...@@ -15,6 +15,11 @@
/* -------------------------------------------------------------------- /* --------------------------------------------------------------------
* AT91SAM9N12 processor initialization * AT91SAM9N12 processor initialization
* -------------------------------------------------------------------- */ * -------------------------------------------------------------------- */
static void __init at91sam9n12_initialize(void)
{
arm_pm_idle = at91sam9_idle;
}
AT91_SOC_START(at91sam9n12) AT91_SOC_START(at91sam9n12)
.init = at91sam9n12_initialize,
AT91_SOC_END AT91_SOC_END
...@@ -16,5 +16,11 @@ ...@@ -16,5 +16,11 @@
* AT91SAM9x5 processor initialization * AT91SAM9x5 processor initialization
* -------------------------------------------------------------------- */ * -------------------------------------------------------------------- */
static void __init at91sam9x5_initialize(void)
{
arm_pm_idle = at91sam9_idle;
}
AT91_SOC_START(at91sam9x5) AT91_SOC_START(at91sam9x5)
.init = at91sam9x5_initialize,
AT91_SOC_END AT91_SOC_END
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment