aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8350.c
diff options
context:
space:
mode:
authorXiubo Li <Li.Xiubo@freescale.com>2014-04-02 19:53:59 -0400
committerMark Brown <broonie@linaro.org>2014-04-14 12:22:20 -0400
commit7a34b1c1dff720dd8dcf63e2b0e5fc15a8f7208f (patch)
treeacf4c8ff38be4f3c412e6726d42c8d5a2f95792a /sound/soc/codecs/wm8350.c
parent964eafb1d59b7c270982d144882c64b93c67eb03 (diff)
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/wm8350.c')
-rw-r--r--sound/soc/codecs/wm8350.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8350.c b/sound/soc/codecs/wm8350.c
index 6b31a9f83137..1bd14b64a6c0 100644
--- a/sound/soc/codecs/wm8350.c
+++ b/sound/soc/codecs/wm8350.c
@@ -1606,7 +1606,7 @@ static int wm8350_codec_remove(struct snd_soc_codec *codec)
1606 return 0; 1606 return 0;
1607} 1607}
1608 1608
1609struct regmap *wm8350_get_regmap(struct device *dev) 1609static struct regmap *wm8350_get_regmap(struct device *dev)
1610{ 1610{
1611 struct wm8350 *wm8350 = dev_get_platdata(dev); 1611 struct wm8350 *wm8350 = dev_get_platdata(dev);
1612 1612