diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2024-02-02 18:58:10 +0300 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2024-02-19 12:20:40 +0300 |
commit | 1a90b0cdc02a9efba97a2ea49e4b851958137053 (patch) | |
tree | 833ae9e7ecf07536274fc272abfad038fdb8b575 /scripts/kconfig/expr.h | |
parent | 40bab83a6595b3ab8afcfdb57903470f64fdbdb9 (diff) | |
download | linux-1a90b0cdc02a9efba97a2ea49e4b851958137053.tar.xz |
kconfig: associate struct property with file name directly
struct property is linked to struct file for diagnostic purposes.
It is always used to retrieve the file name through prop->file->name.
Associate struct property with the file name directly.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/kconfig/expr.h')
-rw-r--r-- | scripts/kconfig/expr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/expr.h b/scripts/kconfig/expr.h index e8fc85d98cdd..037db39c5bf0 100644 --- a/scripts/kconfig/expr.h +++ b/scripts/kconfig/expr.h @@ -195,7 +195,7 @@ struct property { struct menu *menu; /* the menu the property are associated with * valid for: P_SELECT, P_RANGE, P_CHOICE, * P_PROMPT, P_DEFAULT, P_MENU, P_COMMENT */ - struct file *file; /* what file was this property defined */ + const char *filename; /* what file was this property defined */ int lineno; /* what lineno was this property defined */ }; |