diff options
author | Xiubo Li <Li.Xiubo@freescale.com> | 2014-04-02 19:53:59 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-04-14 12:22:20 -0400 |
commit | 7a34b1c1dff720dd8dcf63e2b0e5fc15a8f7208f (patch) | |
tree | acf4c8ff38be4f3c412e6726d42c8d5a2f95792a /sound/soc/codecs/wm8997.c | |
parent | 964eafb1d59b7c270982d144882c64b93c67eb03 (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/wm8997.c')
-rw-r--r-- | sound/soc/codecs/wm8997.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8997.c b/sound/soc/codecs/wm8997.c index 3d50621b070c..09c4150840a3 100644 --- a/sound/soc/codecs/wm8997.c +++ b/sound/soc/codecs/wm8997.c | |||
@@ -1081,7 +1081,7 @@ static unsigned int wm8997_digital_vu[] = { | |||
1081 | ARIZONA_DAC_DIGITAL_VOLUME_5R, | 1081 | ARIZONA_DAC_DIGITAL_VOLUME_5R, |
1082 | }; | 1082 | }; |
1083 | 1083 | ||
1084 | struct regmap *wm8997_get_regmap(struct device *dev) | 1084 | static struct regmap *wm8997_get_regmap(struct device *dev) |
1085 | { | 1085 | { |
1086 | struct wm8997_priv *priv = dev_get_drvdata(dev); | 1086 | struct wm8997_priv *priv = dev_get_drvdata(dev); |
1087 | 1087 | ||