OSDN Git Service

MIPS: TXx9: Fix Kconfig warnings
authorYueHaibing <yuehaibing@huawei.com>
Fri, 3 Apr 2020 09:49:04 +0000 (17:49 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Tue, 14 Apr 2020 10:52:28 +0000 (12:52 +0200)
commitde0c4eb44c39cbb2b3b11bac699b618b0f8d4142
tree74e4f8a8a903bc045b85325f3fc2c17f874b8089
parent5125bfeeb6e4ffc47a5cb2715c342c938854cf20
MIPS: TXx9: Fix Kconfig warnings

If TTY and SND is not n, we got this warnings:

WARNING: unmet direct dependencies detected for HAS_TXX9_SERIAL
  Depends on [n]: TTY [=n] && HAS_IOMEM [=y]
  Selected by [y]:
  - SOC_TX3927 [=y]

WARNING: unmet direct dependencies detected for HAS_TXX9_SERIAL
  Depends on [n]: TTY [=n] && HAS_IOMEM [=y]
  Selected by [y]:
  - SOC_TX4938 [=y]

Only dependencies is enabled, they can be enabled, so
use 'imply' instead of 'select' to fix this.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/txx9/Kconfig