aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-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 2e64bf6929e7..a6499a200788 100644
--- a/arch/mips/lemote/lm2e/reset.c
+++ b/arch/mips/lemote/lm2e/reset.c
@@ -29,16 +29,11 @@ static void loongson2e_halt(void)
29 while (1) ; 29 while (1) ;
30} 30}
31 31
32static void loongson2e_power_off(void)
33{
34 loongson2e_halt();
35}
36
37static int __init mips_reboot_setup(void) 32static int __init mips_reboot_setup(void)
38{ 33{
39 _machine_restart = loongson2e_restart; 34 _machine_restart = loongson2e_restart;
40 _machine_halt = loongson2e_halt; 35 _machine_halt = loongson2e_halt;
41 pm_power_off = loongson2e_power_off; 36 pm_power_off = loongson2e_halt;
42 37
43 return 0; 38 return 0;
44} 39}