#!/usr/bin/perl open (IN,"ktest.pl"); while () { # hashes are now used if (/\$opt\{"?([A-Z].*?)(\[.*\])?"?\}/ || /^\s*"?([A-Z].*?)"?\s*=>\s*/ || /set_test_option\("(.*?)"/) { $opt{$1} = 1; } } close IN; open (IN, "sample.conf"); while () { if (/^\s*#?\s*([A-Z]\S*)\s*=/) { $samp{$1} = 1; } } close IN; foreach $opt (keys %opt) { if (!defined($samp{$opt})) { print "opt = $opt\n"; } } foreach $samp (keys %samp) { if (!defined($opt{$samp})) { print "samp = $samp\n"; } } ository'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2016-06-17 17:21:51 +0000
committerMark Brown <broonie@kernel.org>2016-06-18 14:09:00 +0100
commit716540fdd3d2461a00005cc1d9de067a27535ce2 (patch)
tree895e69eef95cebfb605efdeb4d7473e5cb6fe512
parent3b2af7f79968f0df51b13fc8eed3bf1498f8a79d (diff)
ASoC: max9860: fix non static symbol warnings
Fixes the following sparse warnings: sound/soc/codecs/max9860.c:120:28: warning: symbol 'max9860_regmap' was not declared. Should it be static? sound/soc/codecs/max9860.c:596:25: warning: symbol 'max9860_pm_ops' was not declared. Should it be static? Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Mark Brown <broonie@kernel.org>