X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=arch%2Farm%2Fmach-pxa%2Fspitz.c;h=8c61ddac119ed9a023e477cf32886d2a49ee6ac3;hb=930861c4e6f13ce2e7d06cd1ef11441a065517d9;hp=0d62d311d41ac8dfacdd4b9aba6c517968b4997d;hpb=8e9d2089723d08d51e66c5eea49253d76e27941e;p=pandora-kernel.git diff --git a/arch/arm/mach-pxa/spitz.c b/arch/arm/mach-pxa/spitz.c index 0d62d311d41a..8c61ddac119e 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)