From: Nicolas Pitre Date: Fri, 5 Feb 2010 05:20:24 +0000 (-0500) Subject: [ARM] orion5x: fix some improper includes in Linkstation files X-Git-Tag: v2.6.34-rc2~66^2~53^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1961528959aa523a351b49236f8627b30793ee80;p=profile%2Fivi%2Fkernel-x86-ivi.git [ARM] orion5x: fix some improper includes in Linkstation files ... and replace misuse of arch_reset() with arm_machine_restart(). Signed-off-by: Nicolas Pitre --- diff --git a/arch/arm/mach-orion5x/ls_hgl-setup.c b/arch/arm/mach-orion5x/ls_hgl-setup.c index b9acd6b..8e569be 100644 --- a/arch/arm/mach-orion5x/ls_hgl-setup.c +++ b/arch/arm/mach-orion5x/ls_hgl-setup.c @@ -11,7 +11,6 @@ #include #include #include -#include #include #include #include @@ -19,12 +18,13 @@ #include #include #include -#include #include +#include #include +#include +#include #include "common.h" #include "mpp.h" -#include "include/mach/system.h" /***************************************************************************** * Linkstation LS-HGL Info @@ -186,7 +186,7 @@ static struct mv_sata_platform_data ls_hgl_sata_data = { static void ls_hgl_power_off(void) { - arch_reset(0, NULL); + arm_machine_restart('h', NULL); } diff --git a/arch/arm/mach-orion5x/lsmini-setup.c b/arch/arm/mach-orion5x/lsmini-setup.c index c9bf6b8..c704f05 100644 --- a/arch/arm/mach-orion5x/lsmini-setup.c +++ b/arch/arm/mach-orion5x/lsmini-setup.c @@ -11,7 +11,6 @@ #include #include #include -#include #include #include #include @@ -19,12 +18,13 @@ #include #include #include -#include #include +#include #include +#include +#include #include "common.h" #include "mpp.h" -#include "include/mach/system.h" /***************************************************************************** * Linkstation Mini Info @@ -186,7 +186,7 @@ static struct mv_sata_platform_data lsmini_sata_data = { static void lsmini_power_off(void) { - arch_reset(0, NULL); + arm_machine_restart('h', NULL); }