summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/si476x.c
diff options
context:
space:
mode:
authorXiubo Li <Li.Xiubo@freescale.com>2014-04-03 07:53:59 +0800
committerMark Brown <broonie@linaro.org>2014-04-14 17:22:20 +0100
commit7a34b1c1dff720dd8dcf63e2b0e5fc15a8f7208f (patch)
treeacf4c8ff38be4f3c412e6726d42c8d5a2f95792a /sound/soc/codecs/si476x.c
parent964eafb1d59b7c270982d144882c64b93c67eb03 (diff)
downloadop-kernel-dev-7a34b1c1dff720dd8dcf63e2b0e5fc15a8f7208f.zip
op-kernel-dev-7a34b1c1dff720dd8dcf63e2b0e5fc15a8f7208f.tar.gz
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/si476x.c')
-rw-r--r--sound/soc/codecs/si476x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/si476x.c b/sound/soc/codecs/si476x.c
index 961b7e8..f26befb 100644
--- a/sound/soc/codecs/si476x.c
+++ b/sound/soc/codecs/si476x.c
@@ -231,7 +231,7 @@ static struct snd_soc_dai_driver si476x_dai = {
.ops = &si476x_dai_ops,
};
-struct regmap *si476x_get_regmap(struct device *dev)
+static struct regmap *si476x_get_regmap(struct device *dev)
{
return dev_get_regmap(dev->parent, NULL);
}
OpenPOWER on IntegriCloud