KGDB_SERIAL_CONSOLE check for module

Depend on KGDB_SERIAL_CONSOLE being set to N rather than !Y, since it can
be built as a module.

Signed-off-by: Mike Frysinger <[email protected]>
Signed-off-by: Bryan Wu <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Alan Cox <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Mike Frysinger 2009-04-07 16:52:49 +01:00 • committed by Linus Torvalds
commit 51a2301e71

View file

@ -707,7 +707,7 @@ choice
config SERIAL_BFIN_DMA
bool "DMA mode"
depends on !DMA_UNCACHED_NONE && !KGDB_SERIAL_CONSOLE
depends on !DMA_UNCACHED_NONE && KGDB_SERIAL_CONSOLE=n
help
This driver works under DMA mode. If this option is selected, the
blackfin simple dma driver is also enabled.