ASoC: rt5663: fix sparse warnings
authorWei Yongjun <weiyongjun1@huawei.com>
Sat, 17 Sep 2016 01:34:09 +0000 (01:34 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 20 Sep 2016 11:21:03 +0000 (12:21 +0100)
commit66d7c2629aa4f2c861b7cca9ff15b6bc38e9c9a8
tree205597d5912f72e243b1ac876107ad0025a01940
parent56efaed524dc2c3571f66d296cb1efbd59cb2996
ASoC: rt5663: fix sparse warnings

Fixes the following sparse warnings:

sound/soc/codecs/rt5663.c:1367:14: warning: duplicate const
sound/soc/codecs/rt5663.c:1577:5: warning:
 symbol 'rt5663_button_detect' was not declared. Should it be static?
sound/soc/codecs/rt5663.c:2857:24: warning:
 symbol 'rt5663_aif_dai_ops' was not declared. Should it be static?
sound/soc/codecs/rt5663.c:2866:27: warning:
 symbol 'rt5663_dai' was not declared. Should it be static?
sound/soc/codecs/rt5663.c:3193:6: warning:
 symbol 'rt5663_i2c_shutdown' was not declared. Should it be static?
sound/soc/codecs/rt5663.c:3200:19: warning:
 symbol 'rt5663_i2c_driver' was not declared. Should it be static?

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5663.c