提交 5fdabaab 编写于 作者: M Milton Miller 提交者: Paul Mackerras

[PATCH] ppc64: Remove dummy getc routines

Now that xmon is fixed we should not need the dummy getc routines.
Signed-off-by: NMilton Miller <miltonm@bga.com>
Signed-off-by: NAnton Blanchard <anton@samba.org>
Signed-off-by: NPaul Mackerras <paulus@samba.org>
上级 41be31b7
...@@ -274,16 +274,6 @@ static void __pmac pmac_halt(void) ...@@ -274,16 +274,6 @@ static void __pmac pmac_halt(void)
} }
#ifdef CONFIG_BOOTX_TEXT #ifdef CONFIG_BOOTX_TEXT
static int dummy_getc_poll(void)
{
return -1;
}
static unsigned char dummy_getc(void)
{
return 0;
}
static void btext_putc(unsigned char c) static void btext_putc(unsigned char c)
{ {
btext_drawchar(c); btext_drawchar(c);
...@@ -348,8 +338,8 @@ static void __init pmac_init_early(void) ...@@ -348,8 +338,8 @@ static void __init pmac_init_early(void)
init_boot_display(); init_boot_display();
ppc_md.udbg_putc = btext_putc; ppc_md.udbg_putc = btext_putc;
ppc_md.udbg_getc = dummy_getc; ppc_md.udbg_getc = NULL;
ppc_md.udbg_getc_poll = dummy_getc_poll; ppc_md.udbg_getc_poll = NULL;
#endif /* CONFIG_BOOTX_TEXT */ #endif /* CONFIG_BOOTX_TEXT */
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册