ASoC: rt5640: fix sparse warnings
authorStephen Warren <swarren@nvidia.com>
Wed, 12 Jun 2013 21:34:23 +0000 (15:34 -0600)
committerMark Brown <broonie@linaro.org>
Thu, 13 Jun 2013 09:26:57 +0000 (10:26 +0100)
commit9be94aeabf551aa5e2481ab9d626ba82d6b14f3d
tree6280067bf4768b9262ebf70d17d22a14a4674769
parent040a62cf1c040362fb11587fb9f02e1881f4c237
ASoC: rt5640: fix sparse warnings

This fixes:
975:9: sparse: Using plain integer as NULL pointer
1917:24: sparse: symbol 'rt5640_aif_dai_ops' was not declared. Should it be static?
1924:27: sparse: symbol 'rt5640_dai' was not declared. Should it be static?
2079:19: sparse: symbol 'rt5640_i2c_driver' was not declared. Should it be static?

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/rt5640.c