diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-08-13 16:28:08 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-08-14 17:14:40 +0100 |
commit | def4b1243e56774fdc47de9292111a344f14e88c (patch) | |
tree | fbd66e65e28a830390672321e35d3ae1eba7dbf9 /sound | |
parent | 4d2c7e09a5c8ea3b20748c2942b6a686dced34ab (diff) | |
download | linux-def4b1243e56774fdc47de9292111a344f14e88c.tar.gz linux-def4b1243e56774fdc47de9292111a344f14e88c.tar.bz2 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')
-rw-r--r-- | sound/soc/codecs/zx_aud96p22.c | 2 |
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", }, { } }; |