diff options
author | Xiubo Li <Li.Xiubo@freescale.com> | 2014-04-03 01:53:59 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-04-14 18:22:20 +0200 |
commit | 7a34b1c1dff720dd8dcf63e2b0e5fc15a8f7208f (patch) | |
tree | acf4c8ff38be4f3c412e6726d42c8d5a2f95792a /sound/soc/codecs/cq93vc.c | |
parent | ASoC: wm8997: Remove the set_cache_io() entirely from ASoC probe. (diff) | |
download | linux-7a34b1c1dff720dd8dcf63e2b0e5fc15a8f7208f.tar.xz linux-7a34b1c1dff720dd8dcf63e2b0e5fc15a8f7208f.zip |
ASoC: codec: fix the sparse check warnings.
Some thing Likes:
reproduce: make C=1 CF=-D__CHECK_ENDIAN__
sparse warnings: (new ones prefixed by >>)
>> sound/soc/codecs/wm8997.c:1084:15: sparse: symbol \
'wm8997_get_regmap' was not declared. Should it be static?
Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs/cq93vc.c')
-rw-r--r-- | sound/soc/codecs/cq93vc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/cq93vc.c b/sound/soc/codecs/cq93vc.c index 5e5518d20311..5ee48c8e4849 100644 --- a/sound/soc/codecs/cq93vc.c +++ b/sound/soc/codecs/cq93vc.c @@ -152,7 +152,7 @@ static int cq93vc_remove(struct snd_soc_codec *codec) return 0; } -struct regmap *cq93vc_get_regmap(struct device *dev) +static struct regmap *cq93vc_get_regmap(struct device *dev) { struct davinci_vc *davinci_vc = codec->dev->platform_data; |