summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-at91/at91sam9n12.c5
-rw-r--r--arch/arm/mach-at91/at91sam9x5.c6
2 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/at91sam9n12.c b/arch/arm/mach-at91/at91sam9n12.c
index b5ea69a3eaf6..276b8f0e4183 100644
--- a/arch/arm/mach-at91/at91sam9n12.c
+++ b/arch/arm/mach-at91/at91sam9n12.c
@@ -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
diff --git a/arch/arm/mach-at91/at91sam9x5.c b/arch/arm/mach-at91/at91sam9x5.c
index 7b60a529db01..7b6fb1bca505 100644
--- a/arch/arm/mach-at91/at91sam9x5.c
+++ b/arch/arm/mach-at91/at91sam9x5.c
@@ -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