diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/kconfig/menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/kconfig/menu.c b/scripts/kconfig/menu.c index 56e8c62..07ff8d1 100644 --- a/scripts/kconfig/menu.c +++ b/scripts/kconfig/menu.c @@ -329,9 +329,9 @@ void menu_finalize(struct menu *parent) "values not supported"); if (prop->menu == menu) continue; -/* if (prop->type == P_PROMPT && + if (prop->type == P_PROMPT && prop->menu->parent->sym != sym) - prop_warn(prop, "choice value used outside its choice group");*/ + prop_warn(prop, "choice value used outside its choice group"); } /* Non-tristate choice values of tristate choices must * depend on the choice being set to Y. The choice |