diff --git a/scripts/kconfig/menu.c b/scripts/kconfig/menu.c index af66065733bb636be638d72c9fe4492692462d28..d365fc9513c5a6c57cb3619ba3a6ad32e6941c74 100644 --- a/scripts/kconfig/menu.c +++ b/scripts/kconfig/menu.c @@ -332,8 +332,10 @@ void menu_finalize(struct menu *parent) */ parentdep = expr_alloc_symbol(sym); } else if (parent->prompt) + /* Menu node for 'menu' */ parentdep = parent->prompt->visible.expr; else + /* Menu node for 'if' */ parentdep = parent->dep; /* For each child menu node... */