aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ppc64/kernel/pmac_setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc64/kernel/pmac_setup.c')
-rw-r--r--arch/ppc64/kernel/pmac_setup.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/arch/ppc64/kernel/pmac_setup.c b/arch/ppc64/kernel/pmac_setup.c
index 8ff86a766cdf..d94a3143527a 100644
--- a/arch/ppc64/kernel/pmac_setup.c
+++ b/arch/ppc64/kernel/pmac_setup.c
@@ -274,16 +274,6 @@ static void __pmac pmac_halt(void)
274} 274}
275 275
276#ifdef CONFIG_BOOTX_TEXT 276#ifdef CONFIG_BOOTX_TEXT
277static int dummy_getc_poll(void)
278{
279 return -1;
280}
281
282static unsigned char dummy_getc(void)
283{
284 return 0;
285}
286
287static void btext_putc(unsigned char c) 277static void btext_putc(unsigned char c)
288{ 278{
289 btext_drawchar(c); 279 btext_drawchar(c);
@@ -348,8 +338,8 @@ static void __init pmac_init_early(void)
348 init_boot_display(); 338 init_boot_display();
349 339
350 ppc_md.udbg_putc = btext_putc; 340 ppc_md.udbg_putc = btext_putc;
351 ppc_md.udbg_getc = dummy_getc; 341 ppc_md.udbg_getc = NULL;
352 ppc_md.udbg_getc_poll = dummy_getc_poll; 342 ppc_md.udbg_getc_poll = NULL;
353#endif /* CONFIG_BOOTX_TEXT */ 343#endif /* CONFIG_BOOTX_TEXT */
354 } 344 }
355 345