X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=arch%2Farm%2Fmach-pxa%2Fspitz.c;h=8c61ddac119ed9a023e477cf32886d2a49ee6ac3;hb=ed40d0c472b136682b2fcba05f89762859c7374f;hp=0d62d311d41ac8dfacdd4b9aba6c517968b4997d;hpb=5d80f8e5a9dc9c9a94d4aeaa567e219a808b8a4a;p=linux-2.6-omap-h63xx.git diff --git a/arch/arm/mach-pxa/spitz.c b/arch/arm/mach-pxa/spitz.c index 0d62d311d41..8c61ddac119 100644 --- a/arch/arm/mach-pxa/spitz.c +++ b/arch/arm/mach-pxa/spitz.c @@ -44,9 +44,7 @@ #include #include -#include -#include -#include +#include #include #include #include @@ -709,10 +707,10 @@ static struct platform_device *devices[] __initdata = { static void spitz_poweroff(void) { - arm_machine_restart('g'); + arm_machine_restart('g', NULL); } -static void spitz_restart(char mode) +static void spitz_restart(char mode, const char *cmd) { /* Bootloader magic for a reboot */ if((MSC0 & 0xffff0000) == 0x7ff00000)