Message ID | 20170626090014.8977-1-colin.king@canonical.com (mailing list archive) |
---|---|
State | Accepted |
Commit | def4b1243e56774fdc47de9292111a344f14e88c |
Headers | show |
On Mon, Jun 26, 2017 at 5:00 PM, Colin King <colin.king@canonical.com> wrote: > From: Colin Ian King <colin.king@canonical.com> > > The structure aud96p22_dt_ids does not need to be in global scope, > so make it static. > > Cleans up sparse warning: > "warning: symbol 'aud96p22_dt_ids' was not declared. Should it be static?" > > Signed-off-by: Colin Ian King <colin.king@canonical.com> Acked-by: Shawn Guo <shawn.guo@linaro.org>
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", }, { } };