]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit39710a5da83df032f7defc84716a5f989887e91d
tree74e4f8a8a903bc045b85325f3fc2c17f874b8089
parentf77e47ae1cbb98a2e0cfe582b7f08e15e9469b0d
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