From: Masahiro Yamada Date: Tue, 11 Dec 2018 11:00:56 +0000 (+0900) Subject: kconfig: loosen the order of "visible" and "depends on" in menu entry X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;ds=sidebyside;h=0686dfbe6dfca52902ba59e92bd077df897cd451;hp=0686dfbe6dfca52902ba59e92bd077df897cd451;p=carl9170fw.git kconfig: loosen the order of "visible" and "depends on" in menu entry Currently, "visible" and "depends on", if defined in a menu entry, must appear in that order. The real example is in drivers/media/tuners/Kconfig: menu "Customize TV tuners" visible if depends on ... is fine, but you cannot change the property order like this: menu "Customize TV tuners" depends on visible if Kconfig does not require a specific order of properties. In this case, menu_add_visibility(() and menu_add_dep() are orthogonal. Loosen this unreasonable restriction. Signed-off-by: Masahiro Yamada Signed-off-by: Christian Lamparter ---