Skip to content

Commit

Permalink
[ARM] orion5x: fix some improper includes in Linkstation files
Browse files Browse the repository at this point in the history
... and replace misuse of arch_reset() with arm_machine_restart().

Signed-off-by: Nicolas Pitre <nico@marvell.com>
  • Loading branch information
Nicolas Pitre committed Feb 5, 2010
1 parent 2d18638 commit 1961528
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions arch/arm/mach-orion5x/ls_hgl-setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/pci.h>
#include <linux/mtd/physmap.h>
#include <linux/mv643xx_eth.h>
#include <linux/leds.h>
#include <linux/gpio_keys.h>
#include <linux/input.h>
#include <linux/i2c.h>
#include <linux/ata_platform.h>
#include <asm/mach-types.h>
#include <linux/gpio.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <asm/system.h>
#include <mach/orion5x.h>
#include "common.h"
#include "mpp.h"
#include "include/mach/system.h"

/*****************************************************************************
* Linkstation LS-HGL Info
Expand Down Expand Up @@ -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);
}


Expand Down
8 changes: 4 additions & 4 deletions arch/arm/mach-orion5x/lsmini-setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/pci.h>
#include <linux/mtd/physmap.h>
#include <linux/mv643xx_eth.h>
#include <linux/leds.h>
#include <linux/gpio_keys.h>
#include <linux/input.h>
#include <linux/i2c.h>
#include <linux/ata_platform.h>
#include <asm/mach-types.h>
#include <linux/gpio.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <asm/system.h>
#include <mach/orion5x.h>
#include "common.h"
#include "mpp.h"
#include "include/mach/system.h"

/*****************************************************************************
* Linkstation Mini Info
Expand Down Expand Up @@ -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);
}


Expand Down

0 comments on commit 1961528

Please sign in to comment.