projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d2c7e0
)
ASoC: zx_aud96p22: make array aud96p22_dt_ids static
author
Colin Ian King
<colin.king@canonical.com>
Sun, 13 Aug 2017 15:28:08 +0000
(16:28 +0100)
committer
Mark Brown
<broonie@kernel.org>
Mon, 14 Aug 2017 16:14:40 +0000
(17:14 +0100)
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>
sound/soc/codecs/zx_aud96p22.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/zx_aud96p22.c
b/sound/soc/codecs/zx_aud96p22.c
index 032fb7cf6cbdfce68f00577c41243561b9534742..bc23ce1a30a1e6ed183a1e064ea73cdfb1f900a0 100644
(file)
--- 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", },
{ }
};