]> www.infradead.org Git - users/jedix/linux-maple.git/commit
kconfig: use sym_get_choice_menu() in sym_check_deps()
authorMasahiro Yamada <masahiroy@kernel.org>
Tue, 18 Jun 2024 10:35:29 +0000 (19:35 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Mon, 15 Jul 2024 16:08:37 +0000 (01:08 +0900)
commitb139b43e9d47552b3f998fade184ed19e45d0c32
tree4135e9e87d11a848486c9a0ff17470638e5439a5
parent609fc4099b3482ba774712376d56316c561432ff
kconfig: use sym_get_choice_menu() in sym_check_deps()

Choices and their members are associated via the P_CHOICE property.

Currently, prop_get_symbol(sym_get_choice_prop()) is used to obtain
the choice of the given choice member.

Replace it with sym_get_choice_menu(), which retrieves the choice
without relying on P_CHOICE.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/symbol.c