Skip to content

Commit

Permalink
fix SERIAL_CORE_CONSOLE driver dependencies
Browse files Browse the repository at this point in the history
SERIAL_BFIN=m or SERIAL_MUX=m shouldn't allow SERIAL_CORE_CONSOLE=y.

Additionally, this patch fixes whitespace instead of tabs at the
SERIAL_MUX_CONSOLE option.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Cc: Bryan Wu <bryan.wu@analog.com>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Sep 12, 2007
1 parent 9c54ea9 commit 7111de7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/serial/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ config SERIAL_BFIN

config SERIAL_BFIN_CONSOLE
bool "Console on Blackfin serial port"
depends on SERIAL_BFIN
depends on SERIAL_BFIN=y
select SERIAL_CORE_CONSOLE

choice
Expand Down Expand Up @@ -832,10 +832,10 @@ config SERIAL_MUX
4. Change the kernel command console parameter to: console=ttyB0

config SERIAL_MUX_CONSOLE
bool "Support for console on serial MUX"
depends on SERIAL_MUX
bool "Support for console on serial MUX"
depends on SERIAL_MUX=y
select SERIAL_CORE_CONSOLE
default y
default y

config PDC_CONSOLE
bool "PDC software console support"
Expand Down

0 comments on commit 7111de7

Please sign in to comment.