diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2010-07-31 23:35:32 +0200 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2010-08-03 13:49:32 +0200 |
commit | c252147de68cf58ba601278481e473dab432cee4 (patch) | |
tree | d69910edf4c8fe795788aac65fb0e7d320b64c68 /scripts/kconfig/lkc.h | |
parent | 0748cb3e1fbd89c03a98c15e91ad65797981de77 (diff) | |
download | op-kernel-dev-c252147de68cf58ba601278481e473dab432cee4.zip op-kernel-dev-c252147de68cf58ba601278481e473dab432cee4.tar.gz |
kconfig: refactor code in symbol.c
Move logic to determine default for a choice to
a separate function.
No functional changes.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/kconfig/lkc.h')
-rw-r--r-- | scripts/kconfig/lkc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/kconfig/lkc.h b/scripts/kconfig/lkc.h index ce6549c..755b819 100644 --- a/scripts/kconfig/lkc.h +++ b/scripts/kconfig/lkc.h @@ -126,6 +126,7 @@ void sym_init(void); void sym_clear_all_valid(void); void sym_set_all_changed(void); void sym_set_changed(struct symbol *sym); +struct symbol *sym_choice_default(struct symbol *sym); struct symbol *sym_check_deps(struct symbol *sym); struct property *prop_alloc(enum prop_type type, struct symbol *sym); struct symbol *prop_get_symbol(struct property *prop); |