Skip to content

Commit def4b12

Browse files
Colin Ian Kingbroonie
authored andcommitted
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 <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent 4d2c7e0 commit def4b12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/soc/codecs/zx_aud96p22.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ static int aud96p22_i2c_remove(struct i2c_client *i2c)
382382
return 0;
383383
}
384384

385-
const struct of_device_id aud96p22_dt_ids[] = {
385+
static const struct of_device_id aud96p22_dt_ids[] = {
386386
{ .compatible = "zte,zx-aud96p22", },
387387
{ }
388388
};

0 commit comments

Comments
 (0)