aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-footbridge/netwinder-hw.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-footbridge/netwinder-hw.c')
-rw-r--r--arch/arm/mach-footbridge/netwinder-hw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-footbridge/netwinder-hw.c b/arch/arm/mach-footbridge/netwinder-hw.c
index 90ea23fdce4c..1fd2cf097e30 100644
--- a/arch/arm/mach-footbridge/netwinder-hw.c
+++ b/arch/arm/mach-footbridge/netwinder-hw.c
@@ -634,9 +634,9 @@ fixup_netwinder(struct tag *tags, char **cmdline, struct meminfo *mi)
634#endif 634#endif
635} 635}
636 636
637static void netwinder_restart(char mode, const char *cmd) 637static void netwinder_restart(enum reboot_mode mode, const char *cmd)
638{ 638{
639 if (mode == 's') { 639 if (mode == REBOOT_SOFT) {
640 /* Jump into the ROM */ 640 /* Jump into the ROM */
641 soft_restart(0x41000000); 641 soft_restart(0x41000000);
642 } else { 642 } else {