projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kconfig: remove SYMBOL_CHOICE flag
[linux-2.6-block.git]
/
scripts
/
kconfig
/
lkc.h
diff --git
a/scripts/kconfig/lkc.h
b/scripts/kconfig/lkc.h
index cfb7e9ac41a3c4f442196f6f726050f493b838e4..5e27432e493984ff8f1abac99c1811de06a8e29e 100644
(file)
--- a/
scripts/kconfig/lkc.h
+++ b/
scripts/kconfig/lkc.h
@@
-129,7
+129,8
@@
static inline struct symbol *sym_get_choice_value(struct symbol *sym)
static inline bool sym_is_choice(struct symbol *sym)
{
- return sym->flags & SYMBOL_CHOICE ? true : false;
+ /* A choice is a symbol with no name */
+ return sym->name == NULL;
}
static inline bool sym_is_choice_value(struct symbol *sym)