Home | History | Annotate | Download | only in kconfig

Lines Matching defs:sym2

226 static int menu_validate_number(struct symbol *sym, struct symbol *sym2)
228 return sym2->type == S_INT || sym2->type == S_HEX ||
229 (sym2->type == S_UNKNOWN && sym_string_valid(sym, sym2->name));
235 struct symbol *sym2;
248 sym2 = prop_get_symbol(prop);
250 if (!menu_validate_number(sym, sym2))
257 sym_get_choice_prop(sym2);
263 sym2->name);
269 sym2 = prop_get_symbol(prop);
274 else if (sym2->type != S_UNKNOWN &&
275 sym2->type != S_BOOLEAN &&
276 sym2->type != S_TRISTATE)
280 "tristate type", sym2->name, use);