summaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-08-13 17:28:08 +0200
committerMark Brown <broonie@kernel.org>2017-08-14 18:14:40 +0200
commitdef4b1243e56774fdc47de9292111a344f14e88c (patch)
treefbd66e65e28a830390672321e35d3ae1eba7dbf9 /sound/soc
parentASoC: zte: spdif: constify snd_soc_dai_ops structure (diff)
downloadlinux-def4b1243e56774fdc47de9292111a344f14e88c.tar.xz
linux-def4b1243e56774fdc47de9292111a344f14e88c.zip
ASoC: zx_aud96p22: make array aud96p22_dt_ids static
The array aud96p22_dt_ids is local to the source and does not need to be in global scope, so make it static. Cleans up sparse warning: symbol 'aud96p22_dt_ids' was not declared. Should it be static? Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/codecs/zx_aud96p22.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/zx_aud96p22.c b/sound/soc/codecs/zx_aud96p22.c
index 032fb7cf6cbd..bc23ce1a30a1 100644
--- a/sound/soc/codecs/zx_aud96p22.c
+++ b/sound/soc/codecs/zx_aud96p22.c
@@ -382,7 +382,7 @@ static int aud96p22_i2c_remove(struct i2c_client *i2c)
return 0;
}
-const struct of_device_id aud96p22_dt_ids[] = {
+static const struct of_device_id aud96p22_dt_ids[] = {
{ .compatible = "zte,zx-aud96p22", },
{ }
};