Commit def4b124 authored by Colin Ian King's avatar Colin Ian King Committed by Mark Brown

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: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 4d2c7e09
...@@ -382,7 +382,7 @@ static int aud96p22_i2c_remove(struct i2c_client *i2c) ...@@ -382,7 +382,7 @@ static int aud96p22_i2c_remove(struct i2c_client *i2c)
return 0; return 0;
} }
const struct of_device_id aud96p22_dt_ids[] = { static const struct of_device_id aud96p22_dt_ids[] = {
{ .compatible = "zte,zx-aud96p22", }, { .compatible = "zte,zx-aud96p22", },
{ } { }
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment