localmodconfig: Fix whitespace repeat count after "tristate"
[cascardo/linux.git] / scripts / kconfig / streamline_config.pl
index 95a6f2b..b8c7b29 100755 (executable)
@@ -237,7 +237,7 @@ sub read_kconfig {
            }
 
        # configs without prompts must be selected
-       } elsif ($state ne "NONE" && /^\s*tristate\s\S/) {
+       } elsif ($state ne "NONE" && /^\s*(tristate\s+\S|prompt\b)/) {
            # note if the config has a prompt
            $prompts{$config} = 1;