diff options
Diffstat (limited to 'arch/ppc64/kernel/udbg_scc.c')
-rw-r--r-- | arch/ppc64/kernel/udbg_scc.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/ppc64/kernel/udbg_scc.c b/arch/ppc64/kernel/udbg_scc.c index 74c8ea2675cb..c8ba8ac287f0 100644 --- a/arch/ppc64/kernel/udbg_scc.c +++ b/arch/ppc64/kernel/udbg_scc.c | |||
@@ -111,9 +111,9 @@ void udbg_init_scc(struct device_node *np) | |||
111 | for (i = 0; i < sizeof(scc_inittab); ++i) | 111 | for (i = 0; i < sizeof(scc_inittab); ++i) |
112 | out_8(sccc, scc_inittab[i]); | 112 | out_8(sccc, scc_inittab[i]); |
113 | 113 | ||
114 | ppc_md.udbg_putc = udbg_scc_putc; | 114 | udbg_putc = udbg_scc_putc; |
115 | ppc_md.udbg_getc = udbg_scc_getc; | 115 | udbg_getc = udbg_scc_getc; |
116 | ppc_md.udbg_getc_poll = udbg_scc_getc_poll; | 116 | udbg_getc_poll = udbg_scc_getc_poll; |
117 | 117 | ||
118 | udbg_puts("Hello World !\n"); | 118 | udbg_puts("Hello World !\n"); |
119 | } | 119 | } |
@@ -132,7 +132,7 @@ void udbg_init_pmac_realmode(void) | |||
132 | sccc = (volatile u8 __iomem *)0x80013020ul; | 132 | sccc = (volatile u8 __iomem *)0x80013020ul; |
133 | sccd = (volatile u8 __iomem *)0x80013030ul; | 133 | sccd = (volatile u8 __iomem *)0x80013030ul; |
134 | 134 | ||
135 | ppc_md.udbg_putc = udbg_real_scc_putc; | 135 | udbg_putc = udbg_real_scc_putc; |
136 | ppc_md.udbg_getc = NULL; | 136 | udbg_getc = NULL; |
137 | ppc_md.udbg_getc_poll = NULL; | 137 | udbg_getc_poll = NULL; |
138 | } | 138 | } |