[MIPS] remove wrppmc_machine_power_off()
authorYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Fri, 11 Jul 2008 13:39:18 +0000 (22:39 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 15 Jul 2008 17:44:36 +0000 (18:44 +0100)
It can be replace wrppmc_machine_halt().

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/gt64120/wrppmc/reset.c
arch/mips/gt64120/wrppmc/setup.c

index e66c87164a0250374a73f0ece99da8a0815e62f5..cc5474b24f0657f6b51091d6f2779427a03d3e78 100644 (file)
@@ -38,8 +38,3 @@ void wrppmc_machine_halt(void)
                        cpu_wait();
        }
 }
-
-void wrppmc_machine_power_off(void)
-{
-       wrppmc_machine_halt();
-}
index 728ef6a80edd0f613b4754f5f211b01dcef83797..ca65c84031a7a917a504e17b987c6e56e047ac26 100644 (file)
@@ -98,11 +98,10 @@ void __init plat_mem_setup(void)
 {
        extern void wrppmc_machine_restart(char *command);
        extern void wrppmc_machine_halt(void);
-       extern void wrppmc_machine_power_off(void);
 
        _machine_restart = wrppmc_machine_restart;
        _machine_halt    = wrppmc_machine_halt;
-       pm_power_off     = wrppmc_machine_power_off;
+       pm_power_off     = wrppmc_machine_halt;
 
        /* This makes the operations of 'in/out[bwl]' to the
         * physical address ( < KSEG0) can work via KSEG1