summaryrefslogtreecommitdiff
path: root/extra/config/menu.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-11-04 13:07:50 +0000
committerEric Andersen <andersen@codepoet.org>2003-11-04 13:07:50 +0000
commitf8a3fa0247f4ee4e614df73aef0f8732c8ae5ab3 (patch)
tree8a616a6013bc45c1e86b5ca6b347bd81393217e2 /extra/config/menu.c
parentfe6015e8aac57bedd05407fc956727c993070adf (diff)
Rework the config system. Better utilize the Kconfig language
which should simplify enabling arbitrary architectures. -Erik
Diffstat (limited to 'extra/config/menu.c')
-rw-r--r--extra/config/menu.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/extra/config/menu.c b/extra/config/menu.c
index 4a889d32f..ba5c6a6c5 100644
--- a/extra/config/menu.c
+++ b/extra/config/menu.c
@@ -275,9 +275,8 @@ void menu_finalize(struct menu *parent)
break;
case P_SELECT:
sym2 = prop_get_symbol(prop);
- if ((sym->type != S_BOOLEAN && sym->type != S_TRISTATE) ||
- (sym2->type != S_BOOLEAN && sym2->type != S_TRISTATE))
- fprintf(stderr, "%s:%d:warning: enable is only allowed with boolean and tristate symbols\n",
+ if ((sym->type != S_BOOLEAN) || (sym2->type != S_BOOLEAN))
+ fprintf(stderr, "%s:%d:warning: enable is only allowed with booleans\n",
prop->file->name, prop->lineno);
break;
case P_RANGE: