aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/soc/codecs/uda1380.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/soc/codecs/uda1380.c b/sound/soc/codecs/uda1380.c
index 2918fdb95e58..61cdc79840e7 100644
--- a/sound/soc/codecs/uda1380.c
+++ b/sound/soc/codecs/uda1380.c
@@ -791,9 +791,16 @@ static const struct i2c_device_id uda1380_i2c_id[] = {
791}; 791};
792MODULE_DEVICE_TABLE(i2c, uda1380_i2c_id); 792MODULE_DEVICE_TABLE(i2c, uda1380_i2c_id);
793 793
794static const struct of_device_id uda1380_of_match[] = {
795 { .compatible = "nxp,uda1380", },
796 { }
797};
798MODULE_DEVICE_TABLE(of, uda1380_of_match);
799
794static struct i2c_driver uda1380_i2c_driver = { 800static struct i2c_driver uda1380_i2c_driver = {
795 .driver = { 801 .driver = {
796 .name = "uda1380-codec", 802 .name = "uda1380-codec",
803 .of_match_table = uda1380_of_match,
797 }, 804 },
798 .probe = uda1380_i2c_probe, 805 .probe = uda1380_i2c_probe,
799 .remove = uda1380_i2c_remove, 806 .remove = uda1380_i2c_remove,