diff options
author | 2019-12-17 13:14:22 +0900 | |
---|---|---|
committer | 2020-01-07 02:18:44 +0900 | |
commit | 6397d96ba5a52c57ee1831a4ddc3aab01bb02048 (patch) | |
tree | ce4dd71b3ab8070639985b22460fc3919572d964 /scripts/kconfig/parser.y | |
parent | kconfig: remove 'prompt' argument from menu_add_prop() (diff) | |
download | linux-6397d96ba5a52c57ee1831a4ddc3aab01bb02048.tar.gz linux-6397d96ba5a52c57ee1831a4ddc3aab01bb02048.tar.bz2 linux-6397d96ba5a52c57ee1831a4ddc3aab01bb02048.zip |
kconfig: remove sym from struct property
struct property can reference to the symbol that it is associated with
by prop->menu->sym.
Fix up the one usage of prop->sym, and remove sym from struct property.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/kconfig/parser.y')
-rw-r--r-- | scripts/kconfig/parser.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/parser.y b/scripts/kconfig/parser.y index af770bf758ad..708b6c4b13ca 100644 --- a/scripts/kconfig/parser.y +++ b/scripts/kconfig/parser.y @@ -660,7 +660,7 @@ static void print_symbol(FILE *out, struct menu *menu) break; case P_SYMBOL: fputs( " symbol ", out); - fprintf(out, "%s\n", prop->sym->name); + fprintf(out, "%s\n", prop->menu->sym->name); break; default: fprintf(out, " unknown prop %d!\n", prop->type); |