summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-02-03 16:47:44 +0000
committerRalf Baechle <ralf@linux-mips.org>2006-02-07 13:30:21 +0000
commita3305a8835ed039363822523a3cac24e990083dc (patch)
tree7549fa6171d1a60f64085a1795157c1878f4a4e6
parenta84c96e202c286c1d56fed4a81bd850017aa2c64 (diff)
[MIPS] Revert "mips: add pm_power_off"
pm_power_off duplicates the functionality of _machine_restart. This reverts b142159fa5ffbad73b6927fafa5440148030f3f1 commit.
-rw-r--r--arch/mips/kernel/reset.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/mips/kernel/reset.c b/arch/mips/kernel/reset.c
index 5e37df3111a..ae2ba67b7ef 100644
--- a/arch/mips/kernel/reset.c
+++ b/arch/mips/kernel/reset.c
@@ -12,9 +12,6 @@
#include <linux/reboot.h>
#include <asm/reboot.h>
-void (*pm_power_off)(void);
-EXPORT_SYMBOL(pm_power_off);
-
/*
* Urgs ... Too many MIPS machines to handle this in a generic way.
* So handle all using function pointers to machine specific
@@ -36,9 +33,6 @@ void machine_halt(void)
void machine_power_off(void)
{
- if (pm_power_off)
- pm_power_off();
-
_machine_power_off();
}