提交 f13558c2 编写于 作者: Y Yoichi Yuasa 提交者: Ralf Baechle

[MIPS] Cobalt: Remove cobalt_machine_power_off()

It's same as cobalt_machine_halt().
Signed-off-by: NYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 3282bd3c
...@@ -61,12 +61,3 @@ void cobalt_machine_restart(char *command) ...@@ -61,12 +61,3 @@ void cobalt_machine_restart(char *command)
/* we should never get here */ /* we should never get here */
cobalt_machine_halt(); 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();
}
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
extern void cobalt_machine_restart(char *command); extern void cobalt_machine_restart(char *command);
extern void cobalt_machine_halt(void); extern void cobalt_machine_halt(void);
extern void cobalt_machine_power_off(void);
const char *get_system_type(void) const char *get_system_type(void)
{ {
...@@ -96,7 +95,7 @@ void __init plat_mem_setup(void) ...@@ -96,7 +95,7 @@ void __init plat_mem_setup(void)
_machine_restart = cobalt_machine_restart; _machine_restart = cobalt_machine_restart;
_machine_halt = cobalt_machine_halt; _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)); set_io_port_base(CKSEG1ADDR(GT_DEF_PCI0_IO_BASE));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册