Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit bd988e7c authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

kconfig: introduce choice_set_value() helper


Currently, sym_set_tristate_value() is used to set 'y' to a choice
member, which is confusing because it not only sets 'y' to the given
symbol but also tweaks flags of other symbols as a side effect.

Add a dedicated function for setting the value of the given choice.

Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent dfe8e56f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment