aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/expr.h
diff options
context:
space:
mode:
authorMasahiro Yamada <[email protected]>2024-06-18 10:35:25 +0000
committerMasahiro Yamada <[email protected]>2024-07-15 16:08:37 +0000
commit6e6d0e917a9714297614b41fbbfde1625249e197 (patch)
tree1320a4dc4f3ae5ac0b2e544cba1906c77b5b1fdf /scripts/kconfig/expr.h
parentkconfig: change sym_choice_default() to take the choice menu (diff)
downloadkernel-6e6d0e917a9714297614b41fbbfde1625249e197.tar.gz
kernel-6e6d0e917a9714297614b41fbbfde1625249e197.zip
kconfig: use menu_list_for_each_sym() in sym_choice_default()
Choices and their members are associated via the P_CHOICE property. Currently, sym_get_choice_prop() and expr_list_for_each_sym() are used to iterate on choice members. Replace them with menu_for_each_sub_entry(), which achieves the same without relying on P_CHOICE. Signed-off-by: Masahiro Yamada <[email protected]>
Diffstat (limited to 'scripts/kconfig/expr.h')
0 files changed, 0 insertions, 0 deletions