diff options
-rw-r--r-- | scripts/kconfig/menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/menu.c b/scripts/kconfig/menu.c index 682045a7aae4..23acbdb2fd50 100644 --- a/scripts/kconfig/menu.c +++ b/scripts/kconfig/menu.c | |||
@@ -139,7 +139,7 @@ struct property *menu_add_prop(enum prop_type type, char *prompt, struct expr *e | |||
139 | while (isspace(*prompt)) | 139 | while (isspace(*prompt)) |
140 | prompt++; | 140 | prompt++; |
141 | } | 141 | } |
142 | if (current_entry->prompt) | 142 | if (current_entry->prompt && current_entry != &rootmenu) |
143 | prop_warn(prop, "prompt redefined"); | 143 | prop_warn(prop, "prompt redefined"); |
144 | current_entry->prompt = prop; | 144 | current_entry->prompt = prop; |
145 | } | 145 | } |