Skip to content

Commit

Permalink
ARM: at91: fix sam9n12 and sam9x5 arm_pm_idle
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexandre Belloni authored and Nicolas Ferre committed Jan 26, 2015
1 parent 37e9c4d commit 4fe604c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arch/arm/mach-at91/at91sam9n12.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 6 additions & 0 deletions arch/arm/mach-at91/at91sam9x5.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 4fe604c

Please sign in to comment.