kconfig: explicitly introduce expression list
[linux-2.6.git] / scripts / kconfig / menu.c
index e9deebe..3637d10 100644 (file)
@@ -331,7 +331,7 @@ void menu_finalize(struct menu *parent)
                        prop = sym_get_choice_prop(sym);
                        for (ep = &prop->expr; *ep; ep = &(*ep)->left.expr)
                                ;
-                       *ep = expr_alloc_one(E_CHOICE, NULL);
+                       *ep = expr_alloc_one(E_LIST, NULL);
                        (*ep)->right.sym = menu->sym;
                }
                if (menu->list && (!menu->prompt || !menu->prompt->text)) {