summaryrefslogtreecommitdiffstats
path: root/sound
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
parent4d2c7e09a5c8ea3b20748c2942b6a686dced34ab (diff)
downloadop-kernel-dev-def4b1243e56774fdc47de9292111a344f14e88c.zip
op-kernel-dev-def4b1243e56774fdc47de9292111a344f14e88c.tar.gz
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')
-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 032fb7c..bc23ce1 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", },
{ }
};
OpenPOWER on IntegriCloud