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

[MIPS] SNI: Remove unneeded sni_machine_halt

Signed-off-by: NYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 5d3fdeac
...@@ -40,10 +40,6 @@ void sni_machine_restart(char *command) ...@@ -40,10 +40,6 @@ void sni_machine_restart(char *command)
} }
} }
void sni_machine_halt(void)
{
}
void sni_machine_power_off(void) void sni_machine_power_off(void)
{ {
*(volatile unsigned char *)PCIMT_CSWCSM = 0xfd; *(volatile unsigned char *)PCIMT_CSWCSM = 0xfd;
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
unsigned int sni_brd_type; unsigned int sni_brd_type;
extern void sni_machine_restart(char *command); extern void sni_machine_restart(char *command);
extern void sni_machine_halt(void);
extern void sni_machine_power_off(void); extern void sni_machine_power_off(void);
static void __init sni_display_setup(void) static void __init sni_display_setup(void)
...@@ -87,7 +86,6 @@ void __init plat_mem_setup(void) ...@@ -87,7 +86,6 @@ void __init plat_mem_setup(void)
} }
_machine_restart = sni_machine_restart; _machine_restart = sni_machine_restart;
_machine_halt = sni_machine_halt;
pm_power_off = sni_machine_power_off; pm_power_off = sni_machine_power_off;
sni_display_setup(); sni_display_setup();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册