aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/mioa701.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-pxa/mioa701.c')
-rw-r--r--arch/arm/mach-pxa/mioa701.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-pxa/mioa701.c b/arch/arm/mach-pxa/mioa701.c
index f2d75217eb60..dce71b4a3a55 100644
--- a/arch/arm/mach-pxa/mioa701.c
+++ b/arch/arm/mach-pxa/mioa701.c
@@ -692,13 +692,13 @@ static void mioa701_machine_exit(void);
692static void mioa701_poweroff(void) 692static void mioa701_poweroff(void)
693{ 693{
694 mioa701_machine_exit(); 694 mioa701_machine_exit();
695 arm_machine_restart('s', NULL); 695 pxa_restart('s', NULL);
696} 696}
697 697
698static void mioa701_restart(char c, const char *cmd) 698static void mioa701_restart(char c, const char *cmd)
699{ 699{
700 mioa701_machine_exit(); 700 mioa701_machine_exit();
701 arm_machine_restart('s', cmd); 701 pxa_restart('s', cmd);
702} 702}
703 703
704static struct gpio global_gpios[] = { 704static struct gpio global_gpios[] = {
@@ -739,7 +739,6 @@ static void __init mioa701_machine_init(void)
739 pxa_set_udc_info(&mioa701_udc_info); 739 pxa_set_udc_info(&mioa701_udc_info);
740 pxa_set_ac97_info(&mioa701_ac97_info); 740 pxa_set_ac97_info(&mioa701_ac97_info);
741 pm_power_off = mioa701_poweroff; 741 pm_power_off = mioa701_poweroff;
742 arm_pm_restart = mioa701_restart;
743 platform_add_devices(devices, ARRAY_SIZE(devices)); 742 platform_add_devices(devices, ARRAY_SIZE(devices));
744 gsm_init(); 743 gsm_init();
745 744
@@ -763,4 +762,5 @@ MACHINE_START(MIOA701, "MIO A701")
763 .handle_irq = &pxa27x_handle_irq, 762 .handle_irq = &pxa27x_handle_irq,
764 .init_machine = mioa701_machine_init, 763 .init_machine = mioa701_machine_init,
765 .timer = &pxa_timer, 764 .timer = &pxa_timer,
765 .restart = mioa701_restart,
766MACHINE_END 766MACHINE_END