summaryrefslogtreecommitdiffstats
path: root/sound/soc/qcom
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2015-07-27 10:56:24 +0200
committerMark Brown <broonie@kernel.org>2015-07-29 15:05:34 +0100
commiteccad574ef2d74e7519a092d9822932a27c6f165 (patch)
tree89ca2cddae267089b67d3f409e7a680ba291df97 /sound/soc/qcom
parent7f005256f70a8c1c60b2f8a7449137da0c5e5bd9 (diff)
downloadlinux-0-day-eccad574ef2d74e7519a092d9822932a27c6f165.tar.gz
linux-0-day-eccad574ef2d74e7519a092d9822932a27c6f165.tar.xz
ASoC: lpass-ipq806x: Staticise local symbols
ipq806x_data is not used outside this file, so it can be static. Fixes the following sparse warning: sound/soc/qcom/lpass-ipq806x.c:76:22: warning: symbol 'ipq806x_data' was not declared. Should it be static? Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Acked-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/qcom')
-rw-r--r--sound/soc/qcom/lpass-ipq806x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/qcom/lpass-ipq806x.c b/sound/soc/qcom/lpass-ipq806x.c
index 7356d3a766d69..7a41679527113 100644
--- a/sound/soc/qcom/lpass-ipq806x.c
+++ b/sound/soc/qcom/lpass-ipq806x.c
@@ -73,7 +73,7 @@ static int ipq806x_lpass_free_dma_channel(struct lpass_data *drvdata, int chan)
return 0;
}
-struct lpass_variant ipq806x_data = {
+static struct lpass_variant ipq806x_data = {
.i2sctrl_reg_base = 0x0010,
.i2sctrl_reg_stride = 0x04,
.i2s_ports = 5,