diff options
-rw-r--r-- | sound/soc/codecs/sta529.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/soc/codecs/sta529.c b/sound/soc/codecs/sta529.c index d4b384e4b266..660734359bf3 100644 --- a/sound/soc/codecs/sta529.c +++ b/sound/soc/codecs/sta529.c | |||
@@ -375,9 +375,16 @@ static const struct i2c_device_id sta529_i2c_id[] = { | |||
375 | }; | 375 | }; |
376 | MODULE_DEVICE_TABLE(i2c, sta529_i2c_id); | 376 | MODULE_DEVICE_TABLE(i2c, sta529_i2c_id); |
377 | 377 | ||
378 | static const struct of_device_id sta529_of_match[] = { | ||
379 | { .compatible = "st,sta529", }, | ||
380 | { } | ||
381 | }; | ||
382 | MODULE_DEVICE_TABLE(of, sta529_of_match); | ||
383 | |||
378 | static struct i2c_driver sta529_i2c_driver = { | 384 | static struct i2c_driver sta529_i2c_driver = { |
379 | .driver = { | 385 | .driver = { |
380 | .name = "sta529", | 386 | .name = "sta529", |
387 | .of_match_table = sta529_of_match, | ||
381 | }, | 388 | }, |
382 | .probe = sta529_i2c_probe, | 389 | .probe = sta529_i2c_probe, |
383 | .remove = sta529_i2c_remove, | 390 | .remove = sta529_i2c_remove, |