diff options
Diffstat (limited to 'arch/ppc64/kernel/pmac_setup.c')
-rw-r--r-- | arch/ppc64/kernel/pmac_setup.c | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/arch/ppc64/kernel/pmac_setup.c b/arch/ppc64/kernel/pmac_setup.c index 8ff86a766cd..e7f695dcd8c 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 |
277 | static int dummy_getc_poll(void) | ||
278 | { | ||
279 | return -1; | ||
280 | } | ||
281 | |||
282 | static unsigned char dummy_getc(void) | ||
283 | { | ||
284 | return 0; | ||
285 | } | ||
286 | |||
287 | static void btext_putc(unsigned char c) | 277 | static void btext_putc(unsigned char c) |
288 | { | 278 | { |
289 | btext_drawchar(c); | 279 | btext_drawchar(c); |
@@ -342,16 +332,13 @@ static void __init pmac_init_early(void) | |||
342 | sccdbg = 1; | 332 | sccdbg = 1; |
343 | udbg_init_scc(NULL); | 333 | udbg_init_scc(NULL); |
344 | } | 334 | } |
345 | |||
346 | else { | ||
347 | #ifdef CONFIG_BOOTX_TEXT | 335 | #ifdef CONFIG_BOOTX_TEXT |
336 | else { | ||
348 | init_boot_display(); | 337 | init_boot_display(); |
349 | 338 | ||
350 | ppc_md.udbg_putc = btext_putc; | 339 | udbg_putc = btext_putc; |
351 | ppc_md.udbg_getc = dummy_getc; | ||
352 | ppc_md.udbg_getc_poll = dummy_getc_poll; | ||
353 | #endif /* CONFIG_BOOTX_TEXT */ | ||
354 | } | 340 | } |
341 | #endif /* CONFIG_BOOTX_TEXT */ | ||
355 | 342 | ||
356 | /* Setup interrupt mapping options */ | 343 | /* Setup interrupt mapping options */ |
357 | ppc64_interrupt_controller = IC_OPEN_PIC; | 344 | ppc64_interrupt_controller = IC_OPEN_PIC; |