]> git.baikalelectronics.ru Git - kernel.git/commit
NIOS2: fix kconfig unmet dependency warning for SERIAL_CORE_CONSOLE
authorRandy Dunlap <rdunlap@infradead.org>
Fri, 24 Sep 2021 00:29:39 +0000 (17:29 -0700)
committerDinh Nguyen <dinguyen@kernel.org>
Fri, 24 Sep 2021 13:49:39 +0000 (08:49 -0500)
commit993e43e429d4bedeccc2005885aa3ccf2becc4a8
tree7ac526face03f598ba6290142a827df8bd511f13
parentfa5d4460cfe6a4ab811a36d49fe44ccb61944b70
NIOS2: fix kconfig unmet dependency warning for SERIAL_CORE_CONSOLE

SERIAL_CORE_CONSOLE depends on TTY so EARLY_PRINTK should also
depend on TTY so that it does not select SERIAL_CORE_CONSOLE
inadvertently.

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

Fixes: b034e26f5880 ("nios2: add early printk support")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Dinh Nguyen <dinguyen@kernel.org>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
arch/nios2/Kconfig.debug