mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-17 05:45:20 +00:00
kconfig: explain symbol value defaults
Added a few comments - no functional change. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
This commit is contained in:
parent
cfb2a494bb
commit
eaa2a87460
@ -65,9 +65,13 @@ enum symbol_type {
|
|||||||
S_UNKNOWN, S_BOOLEAN, S_TRISTATE, S_INT, S_HEX, S_STRING, S_OTHER
|
S_UNKNOWN, S_BOOLEAN, S_TRISTATE, S_INT, S_HEX, S_STRING, S_OTHER
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* enum values are used as index to symbol.def[] */
|
||||||
enum {
|
enum {
|
||||||
S_DEF_USER, /* main user value */
|
S_DEF_USER, /* main user value */
|
||||||
S_DEF_AUTO,
|
S_DEF_AUTO, /* values read from auto.conf */
|
||||||
|
S_DEF_DEF3, /* Reserved for UI usage */
|
||||||
|
S_DEF_DEF4, /* Reserved for UI usage */
|
||||||
|
S_DEF_COUNT
|
||||||
};
|
};
|
||||||
|
|
||||||
struct symbol {
|
struct symbol {
|
||||||
@ -75,7 +79,7 @@ struct symbol {
|
|||||||
char *name;
|
char *name;
|
||||||
enum symbol_type type;
|
enum symbol_type type;
|
||||||
struct symbol_value curr;
|
struct symbol_value curr;
|
||||||
struct symbol_value def[4];
|
struct symbol_value def[S_DEF_COUNT];
|
||||||
tristate visible;
|
tristate visible;
|
||||||
int flags;
|
int flags;
|
||||||
struct property *prop;
|
struct property *prop;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user