summaryrefslogtreecommitdiffstats
path: root/arch/mips/sibyte/cfe/setup.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-01-18 18:37:07 +0100
committerRalf Baechle <ralf@linux-mips.org>2006-02-07 14:30:22 +0100
commitfcdb27ad1d5c66611d3df6400a9b559186f266fe (patch)
tree96560c96bb962a63ed7dd3f56d50b4a8ae41f035 /arch/mips/sibyte/cfe/setup.c
parent[MIPS] Check function pointers are non-zero before calling. (diff)
downloadlinux-fcdb27ad1d5c66611d3df6400a9b559186f266fe.tar.xz
linux-fcdb27ad1d5c66611d3df6400a9b559186f266fe.zip
[MIPS] Rename _machine_power_off to pm_power_off so the kernel builds again.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/sibyte/cfe/setup.c')
-rw-r--r--arch/mips/sibyte/cfe/setup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/sibyte/cfe/setup.c b/arch/mips/sibyte/cfe/setup.c
index 7a2c7a8510d4..ea308029450e 100644
--- a/arch/mips/sibyte/cfe/setup.c
+++ b/arch/mips/sibyte/cfe/setup.c
@@ -23,6 +23,7 @@
#include <linux/mm.h>
#include <linux/blkdev.h>
#include <linux/bootmem.h>
+#include <linux/pm.h>
#include <linux/smp.h>
#include <asm/bootinfo.h>
@@ -248,7 +249,7 @@ void __init prom_init(void)
_machine_restart = cfe_linux_restart;
_machine_halt = cfe_linux_halt;
- _machine_power_off = cfe_linux_halt;
+ pm_power_off = cfe_linux_halt;
/*
* Check if a loader was used; if NOT, the 4 arguments are