summaryrefslogtreecommitdiffstats
path: root/arch/mips/ddb5xxx/ddb5074
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/ddb5xxx/ddb5074
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/ddb5xxx/ddb5074')
-rw-r--r--arch/mips/ddb5xxx/ddb5074/setup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/ddb5xxx/ddb5074/setup.c b/arch/mips/ddb5xxx/ddb5074/setup.c
index 11535be265b9..91456b068c2e 100644
--- a/arch/mips/ddb5xxx/ddb5074/setup.c
+++ b/arch/mips/ddb5xxx/ddb5074/setup.c
@@ -14,6 +14,7 @@
#include <linux/ide.h>
#include <linux/ioport.h>
#include <linux/irq.h>
+#include <linux/pm.h>
#include <asm/addrspace.h>
#include <asm/bcache.h>
@@ -95,7 +96,7 @@ void __init plat_setup(void)
_machine_restart = ddb_machine_restart;
_machine_halt = ddb_machine_halt;
- _machine_power_off = ddb_machine_power_off;
+ pm_power_off = ddb_machine_power_off;
ddb_out32(DDB_BAR0, 0);