diff options
Diffstat (limited to 'scripts/kconfig/lkc.h')
-rw-r--r-- | scripts/kconfig/lkc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/lkc.h b/scripts/kconfig/lkc.h index 527f60c99c50..52c296e0440e 100644 --- a/scripts/kconfig/lkc.h +++ b/scripts/kconfig/lkc.h | |||
@@ -137,7 +137,7 @@ static inline bool sym_is_optional(struct symbol *sym) | |||
137 | 137 | ||
138 | static inline bool sym_has_value(struct symbol *sym) | 138 | static inline bool sym_has_value(struct symbol *sym) |
139 | { | 139 | { |
140 | return sym->flags & SYMBOL_NEW ? false : true; | 140 | return sym->flags & SYMBOL_DEF_USER ? true : false; |
141 | } | 141 | } |
142 | 142 | ||
143 | #ifdef __cplusplus | 143 | #ifdef __cplusplus |