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: Alexandre Belloni <alexandre.belloni@free-electrons.com> Suggested-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
This commit is contained in:
parent
37e9c4d947
commit
4fe604c8b3
|
@ -15,6 +15,11 @@
|
|||
/* --------------------------------------------------------------------
|
||||
* AT91SAM9N12 processor initialization
|
||||
* -------------------------------------------------------------------- */
|
||||
static void __init at91sam9n12_initialize(void)
|
||||
{
|
||||
arm_pm_idle = at91sam9_idle;
|
||||
}
|
||||
|
||||
AT91_SOC_START(at91sam9n12)
|
||||
.init = at91sam9n12_initialize,
|
||||
AT91_SOC_END
|
||||
|
|
|
@ -16,5 +16,11 @@
|
|||
* AT91SAM9x5 processor initialization
|
||||
* -------------------------------------------------------------------- */
|
||||
|
||||
static void __init at91sam9x5_initialize(void)
|
||||
{
|
||||
arm_pm_idle = at91sam9_idle;
|
||||
}
|
||||
|
||||
AT91_SOC_START(at91sam9x5)
|
||||
.init = at91sam9x5_initialize,
|
||||
AT91_SOC_END
|
||||
|
|
Loading…
Reference in New Issue