diff options
Diffstat (limited to 'arch/arm/mach-at91/at91cap9.c')
-rw-r--r-- | arch/arm/mach-at91/at91cap9.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-at91/at91cap9.c b/arch/arm/mach-at91/at91cap9.c index ecdd54dd68c6..29373397d2df 100644 --- a/arch/arm/mach-at91/at91cap9.c +++ b/arch/arm/mach-at91/at91cap9.c | |||
@@ -313,7 +313,7 @@ static struct at91_gpio_bank at91cap9_gpio[] = { | |||
313 | } | 313 | } |
314 | }; | 314 | }; |
315 | 315 | ||
316 | static void at91cap9_reset(void) | 316 | static void at91cap9_restart(char mode, const char *cmd) |
317 | { | 317 | { |
318 | at91_sys_write(AT91_RSTC_CR, AT91_RSTC_KEY | AT91_RSTC_PROCRST | AT91_RSTC_PERRST); | 318 | at91_sys_write(AT91_RSTC_CR, AT91_RSTC_KEY | AT91_RSTC_PROCRST | AT91_RSTC_PERRST); |
319 | } | 319 | } |
@@ -335,7 +335,7 @@ static void __init at91cap9_map_io(void) | |||
335 | 335 | ||
336 | static void __init at91cap9_initialize(void) | 336 | static void __init at91cap9_initialize(void) |
337 | { | 337 | { |
338 | at91_arch_reset = at91cap9_reset; | 338 | arm_pm_restart = at91cap9_restart; |
339 | pm_power_off = at91cap9_poweroff; | 339 | pm_power_off = at91cap9_poweroff; |
340 | at91_extern_irq = (1 << AT91CAP9_ID_IRQ0) | (1 << AT91CAP9_ID_IRQ1); | 340 | at91_extern_irq = (1 << AT91CAP9_ID_IRQ0) | (1 << AT91CAP9_ID_IRQ1); |
341 | 341 | ||