diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2024-06-18 12:35:24 +0200 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2024-07-15 18:08:37 +0200 |
commit | e8fcd915e3c07a2ef90341fa307a224cfd5d865d (patch) | |
tree | a75c6fcf06fb172fb6c1d992b8e1bd953a8aa621 /scripts/kconfig/confdata.c | |
parent | kconfig: remove conf_unsaved in conf_read_simple() (diff) | |
download | linux-e8fcd915e3c07a2ef90341fa307a224cfd5d865d.tar.xz linux-e8fcd915e3c07a2ef90341fa307a224cfd5d865d.zip |
kconfig: change sym_choice_default() to take the choice menu
Change the argument of sym_choice_default() to ease further cleanups.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/kconfig/confdata.c')
-rw-r--r-- | scripts/kconfig/confdata.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c index 4359fbc9255b..76193ce5a792 100644 --- a/scripts/kconfig/confdata.c +++ b/scripts/kconfig/confdata.c @@ -779,7 +779,7 @@ int conf_write_defconfig(const char *filename) if (choice) { struct symbol *ds; - ds = sym_choice_default(choice->sym); + ds = sym_choice_default(choice); if (sym == ds && sym_get_tristate_value(sym) == yes) continue; } |