diff options
Diffstat (limited to 'arch/arm/mach-at91/at91sam9rl.c')
-rw-r--r-- | arch/arm/mach-at91/at91sam9rl.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/at91sam9rl.c b/arch/arm/mach-at91/at91sam9rl.c index d6bcb1da11df..e00939420405 100644 --- a/arch/arm/mach-at91/at91sam9rl.c +++ b/arch/arm/mach-at91/at91sam9rl.c | |||
@@ -11,6 +11,7 @@ | |||
11 | 11 | ||
12 | #include <linux/module.h> | 12 | #include <linux/module.h> |
13 | 13 | ||
14 | #include <asm/proc-fns.h> | ||
14 | #include <asm/irq.h> | 15 | #include <asm/irq.h> |
15 | #include <asm/mach/arch.h> | 16 | #include <asm/mach/arch.h> |
16 | #include <asm/mach/map.h> | 17 | #include <asm/mach/map.h> |
@@ -290,8 +291,15 @@ static void __init at91sam9rl_ioremap_registers(void) | |||
290 | at91sam9_ioremap_smc(0, AT91SAM9RL_BASE_SMC); | 291 | at91sam9_ioremap_smc(0, AT91SAM9RL_BASE_SMC); |
291 | } | 292 | } |
292 | 293 | ||
294 | static void at91sam9rl_idle(void) | ||
295 | { | ||
296 | at91_sys_write(AT91_PMC_SCDR, AT91_PMC_PCK); | ||
297 | cpu_do_idle(); | ||
298 | } | ||
299 | |||
293 | static void __init at91sam9rl_initialize(void) | 300 | static void __init at91sam9rl_initialize(void) |
294 | { | 301 | { |
302 | arm_pm_idle = at91sam9rl_idle; | ||
295 | arm_pm_restart = at91sam9_alt_restart; | 303 | arm_pm_restart = at91sam9_alt_restart; |
296 | at91_extern_irq = (1 << AT91SAM9RL_ID_IRQ0); | 304 | at91_extern_irq = (1 << AT91SAM9RL_ID_IRQ0); |
297 | 305 | ||