Commit c98750c2 authored by Grant Likely's avatar Grant Likely Committed by Paul Mackerras

[POWERPC] Fix mpc52xx serial driver to work for arch/ppc again

The mpc52xx_uart_of_enumerate() function was added when adding 52xx
support to arch/powerpc, but it must not be called for arch/ppc.
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 9b3a6f4a
...@@ -789,7 +789,9 @@ static struct console mpc52xx_console = { ...@@ -789,7 +789,9 @@ static struct console mpc52xx_console = {
static int __init static int __init
mpc52xx_console_init(void) mpc52xx_console_init(void)
{ {
#if defined(CONFIG_PPC_MERGE)
mpc52xx_uart_of_enumerate(); mpc52xx_uart_of_enumerate();
#endif
register_console(&mpc52xx_console); register_console(&mpc52xx_console);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment