提交 4fe604c8 编写于 作者: A Alexandre Belloni 提交者: 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: NAlexandre Belloni <alexandre.belloni@free-electrons.com>
Suggested-by: NArnd Bergmann <arnd@arndb.de>
Signed-off-by: NNicolas Ferre <nicolas.ferre@atmel.com>
上级 37e9c4d9
......@@ -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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册