module: move CONFIG_UNUSED_SYMBOLS to the sub-menu of MODULES
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 9 Sep 2019 11:04:08 +0000 (20:04 +0900)
committerJessica Yu <jeyu@kernel.org>
Wed, 11 Sep 2019 19:40:27 +0000 (21:40 +0200)
commitefd9763d88d120010dd239397a94af92b8a694df
tree14b0217d3ad6ad898d99afb4ac370e60968e55a6
parentd189c2a4b6f0f4ae2529213c77723dd7bd95b048
module: move CONFIG_UNUSED_SYMBOLS to the sub-menu of MODULES

When CONFIG_MODULES is disabled, CONFIG_UNUSED_SYMBOLS is pointless,
thus it should be invisible.

Instead of adding "depends on MODULES", I moved it to the sub-menu
"Enable loadable module support", which is a better fit. I put it
close to TRIM_UNUSED_KSYMS because it depends on !UNUSED_SYMBOLS.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Jessica Yu <jeyu@kernel.org>
init/Kconfig
lib/Kconfig.debug