diff options
Diffstat (limited to 'arch/arm/mach-at91/at91sam9g45.c')
-rw-r--r-- | arch/arm/mach-at91/at91sam9g45.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-at91/at91sam9g45.c b/arch/arm/mach-at91/at91sam9g45.c index 318b0407ea04..ff21f7a60c63 100644 --- a/arch/arm/mach-at91/at91sam9g45.c +++ b/arch/arm/mach-at91/at91sam9g45.c | |||
@@ -317,7 +317,7 @@ static struct at91_gpio_bank at91sam9g45_gpio[] = { | |||
317 | } | 317 | } |
318 | }; | 318 | }; |
319 | 319 | ||
320 | static void at91sam9g45_reset(void) | 320 | static void at91sam9g45_restart(char mode, const char *cmd) |
321 | { | 321 | { |
322 | at91_sys_write(AT91_RSTC_CR, AT91_RSTC_KEY | AT91_RSTC_PROCRST | AT91_RSTC_PERRST); | 322 | at91_sys_write(AT91_RSTC_CR, AT91_RSTC_KEY | AT91_RSTC_PROCRST | AT91_RSTC_PERRST); |
323 | } | 323 | } |
@@ -340,7 +340,7 @@ static void __init at91sam9g45_map_io(void) | |||
340 | 340 | ||
341 | static void __init at91sam9g45_initialize(void) | 341 | static void __init at91sam9g45_initialize(void) |
342 | { | 342 | { |
343 | at91_arch_reset = at91sam9g45_reset; | 343 | arm_pm_restart = at91sam9g45_restart; |
344 | pm_power_off = at91sam9g45_poweroff; | 344 | pm_power_off = at91sam9g45_poweroff; |
345 | at91_extern_irq = (1 << AT91SAM9G45_ID_IRQ0); | 345 | at91_extern_irq = (1 << AT91SAM9G45_ID_IRQ0); |
346 | 346 | ||