diff options
| author | Arnaud Lacombe <lacombar@gmail.com> | 2010-12-05 01:41:16 -0500 |
|---|---|---|
| committer | Michal Marek <mmarek@suse.cz> | 2010-12-15 08:42:11 -0500 |
| commit | 579fb8e741fecef7dfd64afcc7b0b0c68ea207cc (patch) | |
| tree | 0ce61a5daf2547891f8e8dc68d63f693ab41bcf1 /scripts | |
| parent | 1ebfa5198ee96f34f2ee4ae95c92318f07341fbd (diff) | |
kconfig: fix typos
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/kconfig/confdata.c | 6 | ||||
| -rw-r--r-- | scripts/kconfig/symbol.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c index d1bab0f42d10..61c35bf2d9cb 100644 --- a/scripts/kconfig/confdata.c +++ b/scripts/kconfig/confdata.c | |||
| @@ -937,7 +937,7 @@ static void randomize_choice_values(struct symbol *csym) | |||
| 937 | int cnt, def; | 937 | int cnt, def; |
| 938 | 938 | ||
| 939 | /* | 939 | /* |
| 940 | * If choice is mod then we may have more items slected | 940 | * If choice is mod then we may have more items selected |
| 941 | * and if no then no-one. | 941 | * and if no then no-one. |
| 942 | * In both cases stop. | 942 | * In both cases stop. |
| 943 | */ | 943 | */ |
| @@ -1033,10 +1033,10 @@ void conf_set_all_new_symbols(enum conf_def_mode mode) | |||
| 1033 | 1033 | ||
| 1034 | /* | 1034 | /* |
| 1035 | * We have different type of choice blocks. | 1035 | * We have different type of choice blocks. |
| 1036 | * If curr.tri equal to mod then we can select several | 1036 | * If curr.tri equals to mod then we can select several |
| 1037 | * choice symbols in one block. | 1037 | * choice symbols in one block. |
| 1038 | * In this case we do nothing. | 1038 | * In this case we do nothing. |
| 1039 | * If curr.tri equal yes then only one symbol can be | 1039 | * If curr.tri equals yes then only one symbol can be |
| 1040 | * selected in a choice block and we set it to yes, | 1040 | * selected in a choice block and we set it to yes, |
| 1041 | * and the rest to no. | 1041 | * and the rest to no. |
| 1042 | */ | 1042 | */ |
diff --git a/scripts/kconfig/symbol.c b/scripts/kconfig/symbol.c index c0efe102d655..60830ce4a0a9 100644 --- a/scripts/kconfig/symbol.c +++ b/scripts/kconfig/symbol.c | |||
| @@ -686,7 +686,7 @@ const char *sym_get_string_default(struct symbol *sym) | |||
| 686 | switch (sym->type) { | 686 | switch (sym->type) { |
| 687 | case S_BOOLEAN: | 687 | case S_BOOLEAN: |
| 688 | case S_TRISTATE: | 688 | case S_TRISTATE: |
| 689 | /* The visibility imay limit the value from yes => mod */ | 689 | /* The visibility may limit the value from yes => mod */ |
| 690 | val = EXPR_AND(expr_calc_value(prop->expr), prop->visible.tri); | 690 | val = EXPR_AND(expr_calc_value(prop->expr), prop->visible.tri); |
| 691 | break; | 691 | break; |
| 692 | default: | 692 | default: |
