aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ppc64/kernel/pmac_setup.c
diff options
context:
space:
mode:
authorMilton Miller <miltonm@bga.com>2005-09-05 21:56:42 -0400
committerPaul Mackerras <paulus@samba.org>2005-09-06 02:07:36 -0400
commitc8f1c8be629ee34991fdba8bfe46a5c455393209 (patch)
tree66f218e641e87a0ca9ade7601345229b6557761e /arch/ppc64/kernel/pmac_setup.c
parent7f853352e79bf57c4ee279b7458ed0c072e2be76 (diff)
[PATCH] ppc64: Take udbg out of ppc_md
Take udbg out of ppc_md. Allows us to not overwrite early udbg inits when assigning ppc_md. Signed-off-by: Milton Miller <miltonm@bga.com> Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/ppc64/kernel/pmac_setup.c')
-rw-r--r--arch/ppc64/kernel/pmac_setup.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/arch/ppc64/kernel/pmac_setup.c b/arch/ppc64/kernel/pmac_setup.c
index d94a3143527a..e7f695dcd8c8 100644
--- a/arch/ppc64/kernel/pmac_setup.c
+++ b/arch/ppc64/kernel/pmac_setup.c
@@ -332,16 +332,13 @@ static void __init pmac_init_early(void)
332 sccdbg = 1; 332 sccdbg = 1;
333 udbg_init_scc(NULL); 333 udbg_init_scc(NULL);
334 } 334 }
335
336 else {
337#ifdef CONFIG_BOOTX_TEXT 335#ifdef CONFIG_BOOTX_TEXT
336 else {
338 init_boot_display(); 337 init_boot_display();
339 338
340 ppc_md.udbg_putc = btext_putc; 339 udbg_putc = btext_putc;
341 ppc_md.udbg_getc = NULL;
342 ppc_md.udbg_getc_poll = NULL;
343#endif /* CONFIG_BOOTX_TEXT */
344 } 340 }
341#endif /* CONFIG_BOOTX_TEXT */
345 342
346 /* Setup interrupt mapping options */ 343 /* Setup interrupt mapping options */
347 ppc64_interrupt_controller = IC_OPEN_PIC; 344 ppc64_interrupt_controller = IC_OPEN_PIC;