aboutsummaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/lemote/lm2e/reset.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/mips/lemote/lm2e/reset.c b/arch/mips/lemote/lm2e/reset.c
index 2e64bf6929e..a6499a20078 100644
--- a/arch/mips/lemote/lm2e/reset.c
+++ b/arch/mips/lemote/lm2e/reset.c
@@ -29,16 +29,11 @@ static void loongson2e_halt(void)
while (1) ;
}
-static void loongson2e_power_off(void)
-{
- loongson2e_halt();
-}
-
static int __init mips_reboot_setup(void)
{
_machine_restart = loongson2e_restart;
_machine_halt = loongson2e_halt;
- pm_power_off = loongson2e_power_off;
+ pm_power_off = loongson2e_halt;
return 0;
}