diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-08-13 11:28:08 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-08-14 12:14:40 -0400 |
commit | def4b1243e56774fdc47de9292111a344f14e88c (patch) | |
tree | fbd66e65e28a830390672321e35d3ae1eba7dbf9 | |
parent | 4d2c7e09a5c8ea3b20748c2942b6a686dced34ab (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>
-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) | |||
382 | return 0; | 382 | return 0; |
383 | } | 383 | } |
384 | 384 | ||
385 | const struct of_device_id aud96p22_dt_ids[] = { | 385 | static const struct of_device_id aud96p22_dt_ids[] = { |
386 | { .compatible = "zte,zx-aud96p22", }, | 386 | { .compatible = "zte,zx-aud96p22", }, |
387 | { } | 387 | { } |
388 | }; | 388 | }; |