diff options
Diffstat (limited to 'scripts/kconfig/menu.c')
-rw-r--r-- | scripts/kconfig/menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/menu.c b/scripts/kconfig/menu.c index e9deebe22eed..3637d1057e13 100644 --- a/scripts/kconfig/menu.c +++ b/scripts/kconfig/menu.c | |||
@@ -331,7 +331,7 @@ void menu_finalize(struct menu *parent) | |||
331 | prop = sym_get_choice_prop(sym); | 331 | prop = sym_get_choice_prop(sym); |
332 | for (ep = &prop->expr; *ep; ep = &(*ep)->left.expr) | 332 | for (ep = &prop->expr; *ep; ep = &(*ep)->left.expr) |
333 | ; | 333 | ; |
334 | *ep = expr_alloc_one(E_CHOICE, NULL); | 334 | *ep = expr_alloc_one(E_LIST, NULL); |
335 | (*ep)->right.sym = menu->sym; | 335 | (*ep)->right.sym = menu->sym; |
336 | } | 336 | } |
337 | if (menu->list && (!menu->prompt || !menu->prompt->text)) { | 337 | if (menu->list && (!menu->prompt || !menu->prompt->text)) { |