summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/zx_aud96p22.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-08-13 16:28:08 +0100
committerMark Brown <broonie@kernel.org>2017-08-14 17:14:40 +0100
commitdef4b1243e56774fdc47de9292111a344f14e88c (patch)
treefbd66e65e28a830390672321e35d3ae1eba7dbf9 /sound/soc/codecs/zx_aud96p22.c
parent4d2c7e09a5c8ea3b20748c2942b6a686dced34ab (diff)
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/codecs/zx_aud96p22.c')
-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", },
{ }
};