summaryrefslogtreecommitdiffstats
path: root/arch/mips/momentum/ocelot_3/setup.c
diff options
context:
space:
mode:
authorRalf Baechle2006-01-18 18:37:07 +0100
committerRalf Baechle2006-02-07 14:30:22 +0100
commitfcdb27ad1d5c66611d3df6400a9b559186f266fe (patch)
tree96560c96bb962a63ed7dd3f56d50b4a8ae41f035 /arch/mips/momentum/ocelot_3/setup.c
parent[MIPS] Check function pointers are non-zero before calling. (diff)
downloadkernel-qcow2-linux-fcdb27ad1d5c66611d3df6400a9b559186f266fe.tar.gz
kernel-qcow2-linux-fcdb27ad1d5c66611d3df6400a9b559186f266fe.tar.xz
kernel-qcow2-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/momentum/ocelot_3/setup.c')
-rw-r--r--arch/mips/momentum/ocelot_3/setup.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/mips/momentum/ocelot_3/setup.c b/arch/mips/momentum/ocelot_3/setup.c
index c9b7ff8148ec..f95677f4f06f 100644
--- a/arch/mips/momentum/ocelot_3/setup.c
+++ b/arch/mips/momentum/ocelot_3/setup.c
@@ -57,6 +57,8 @@
#include <linux/timex.h>
#include <linux/bootmem.h>
#include <linux/mv643xx.h>
+#include <linux/pm.h>
+
#include <asm/time.h>
#include <asm/page.h>
#include <asm/bootinfo.h>
@@ -321,7 +323,7 @@ void __init plat_setup(void)
_machine_restart = momenco_ocelot_restart;
_machine_halt = momenco_ocelot_halt;
- _machine_power_off = momenco_ocelot_power_off;
+ pm_power_off = momenco_ocelot_power_off;
/* Wired TLB entries */
setup_wired_tlb_entries();