diff options
author | Toralf Foerster <toralf.foerster@gmx.de> | 2010-05-28 04:24:59 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2010-05-28 10:31:25 -0400 |
commit | e5199edb9e1b17792743d76bf10601ec7d6ef513 (patch) | |
tree | e379c1c0dc808c280a8d38a689d7a1f3b559437e /scripts/kconfig | |
parent | cc106eb35ed4abea675bce0d8fe40a46ff0b4a72 (diff) |
kconfig: Make a variable local in streamline_config.pl
Proper perl requires that local variables should be declared with 'my',
otherwise this may produce errors.
Signed-off-by: Toralf Foerster <toralf.foerster@gmx.de>
LKML-Reference: <201005281025.00358.toralf.foerster@gmx.de>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'scripts/kconfig')
-rw-r--r-- | scripts/kconfig/streamline_config.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/streamline_config.pl b/scripts/kconfig/streamline_config.pl index afbd54ac1d83..9726946472fd 100644 --- a/scripts/kconfig/streamline_config.pl +++ b/scripts/kconfig/streamline_config.pl | |||
@@ -307,7 +307,7 @@ close (LIN); | |||
307 | my %configs; | 307 | my %configs; |
308 | foreach my $module (keys(%modules)) { | 308 | foreach my $module (keys(%modules)) { |
309 | if (defined($objects{$module})) { | 309 | if (defined($objects{$module})) { |
310 | @arr = @{$objects{$module}}; | 310 | my @arr = @{$objects{$module}}; |
311 | foreach my $conf (@arr) { | 311 | foreach my $conf (@arr) { |
312 | $configs{$conf} = $module; | 312 | $configs{$conf} = $module; |
313 | } | 313 | } |