summaryrefslogtreecommitdiffstats
path: root/arch/mips/pnx8550/common/setup.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2010-09-19 00:09:09 +0100
committerRalf Baechle <ralf@linux-mips.org>2010-10-04 18:33:57 +0100
commitc1b47e9508f74c152407323260f9fbb980d2fde1 (patch)
tree3e913dd2799fad90bc0856ced4826e97ade33480 /arch/mips/pnx8550/common/setup.c
parent863cb9bad8f992a9c171e90552045eac77808e84 (diff)
MIPS: PNX8550: Sort out machine halt, restart and powerdown functions.
No rubbish printks - those belong to userspace. The halt function now actually halts the system and the poweroff function was deleted because it didn't actually power down the system. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/pnx8550/common/setup.c')
-rw-r--r--arch/mips/pnx8550/common/setup.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/mips/pnx8550/common/setup.c b/arch/mips/pnx8550/common/setup.c
index 64246c9c875..43cb3945fdb 100644
--- a/arch/mips/pnx8550/common/setup.c
+++ b/arch/mips/pnx8550/common/setup.c
@@ -44,7 +44,6 @@
extern void __init board_setup(void);
extern void pnx8550_machine_restart(char *);
extern void pnx8550_machine_halt(void);
-extern void pnx8550_machine_power_off(void);
extern struct resource ioport_resource;
extern struct resource iomem_resource;
extern char *prom_getcmdline(void);
@@ -100,7 +99,7 @@ void __init plat_mem_setup(void)
_machine_restart = pnx8550_machine_restart;
_machine_halt = pnx8550_machine_halt;
- pm_power_off = pnx8550_machine_power_off;
+ pm_power_off = pnx8550_machine_halt;
/* Clear the Global 2 Register, PCI Inta Output Enable Registers
Bit 1:Enable DAC Powerdown