diff options
author | Kumar Gala <galak@gate.crashing.org> | 2005-12-21 09:27:13 -0600 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-01-09 15:34:31 +1100 |
commit | 79e7bac0d6ad56d62e2364313b5e5e5950c7385d (patch) | |
tree | c20bbb30659be4f76a3599ffb519a6518e94e146 /arch/powerpc/kernel/setup_32.c | |
parent | be6b843918394067e93ebbacb834245251a6f18a (diff) | |
download | linux-79e7bac0d6ad56d62e2364313b5e5e5950c7385d.tar.gz linux-79e7bac0d6ad56d62e2364313b5e5e5950c7385d.tar.bz2 linux-79e7bac0d6ad56d62e2364313b5e5e5950c7385d.zip |
[PATCH] powerpc: Call find_legacy_serial_ports() if we enable CONFIG_SERIAL_8250
In setup_arch and setup_system call find_legacy_serial_ports() if we
build in support for 8250 serial ports instead of basing it on PPC_MULTIPLATFORM.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/setup_32.c')
-rw-r--r-- | arch/powerpc/kernel/setup_32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/setup_32.c b/arch/powerpc/kernel/setup_32.c index 79d434fc14d2..e5d285adb496 100644 --- a/arch/powerpc/kernel/setup_32.c +++ b/arch/powerpc/kernel/setup_32.c @@ -299,7 +299,7 @@ void __init setup_arch(char **cmdline_p) if (ppc_md.init_early) ppc_md.init_early(); -#ifdef CONFIG_PPC_MULTIPLATFORM +#ifdef CONFIG_SERIAL_8250 find_legacy_serial_ports(); #endif finish_device_tree(); |