]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[MIPS] Cobalt: Remove cobalt_machine_power_off()
authorYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Tue, 2 Oct 2007 14:21:36 +0000 (23:21 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 11 Oct 2007 22:46:14 +0000 (23:46 +0100)
It's same as cobalt_machine_halt().

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

index 81628b3ae6215eec79f8ed6362f5d8547a9a57d2..71eb4ccc4bc15e2a369b26d129526dd1a39e290d 100644 (file)
@@ -61,12 +61,3 @@ void cobalt_machine_restart(char *command)
        /* we should never get here */
        cobalt_machine_halt();
 }
-
-/*
- * This triggers the luser mode device driver for the power switch ;-)
- */
-void cobalt_machine_power_off(void)
-{
-       printk("You can switch the machine off now.\n");
-       cobalt_machine_halt();
-}
index 345e4ae998df744d83f06458acf4b13e3681fb7a..d11bb1bc7b6b2dd12644f32dc0558a71907a4238 100644 (file)
@@ -25,7 +25,6 @@
 
 extern void cobalt_machine_restart(char *command);
 extern void cobalt_machine_halt(void);
-extern void cobalt_machine_power_off(void);
 
 const char *get_system_type(void)
 {
@@ -96,7 +95,7 @@ void __init plat_mem_setup(void)
 
        _machine_restart = cobalt_machine_restart;
        _machine_halt = cobalt_machine_halt;
-       pm_power_off = cobalt_machine_power_off;
+       pm_power_off = cobalt_machine_halt;
 
        set_io_port_base(CKSEG1ADDR(GT_DEF_PCI0_IO_BASE));