summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/tlv320aic23-i2c.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2014-04-09 17:50:02 +0200
committerTakashi Iwai <tiwai@suse.de>2014-04-09 17:50:02 +0200
commit50487c3a4a96d91e25d43d63262773f14961d9de (patch)
tree9649437556ec56e5ba27e943313f093318b17b81 /sound/soc/codecs/tlv320aic23-i2c.c
parent17c3ad030213da23158082ea90ebbe2a3940a2d2 (diff)
parentab5d6fbdb71c183add7431243c7f615c42b643bb (diff)
Merge tag 'asoc-v3.15-5' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Fixes for v3.15 A smattering of device specific fixes, nothing stands out here except for the multiplatform fixes for Samsung and the device IDs being added by Stephen Warren - there's no real code changes from those and they give better robustness to the enumeration with DT.
Diffstat (limited to 'sound/soc/codecs/tlv320aic23-i2c.c')
-rw-r--r--sound/soc/codecs/tlv320aic23-i2c.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/soc/codecs/tlv320aic23-i2c.c b/sound/soc/codecs/tlv320aic23-i2c.c
index 20fc46092c2c..b73c94ebcc2a 100644
--- a/sound/soc/codecs/tlv320aic23-i2c.c
+++ b/sound/soc/codecs/tlv320aic23-i2c.c
@@ -43,9 +43,16 @@ static const struct i2c_device_id tlv320aic23_id[] = {
MODULE_DEVICE_TABLE(i2c, tlv320aic23_id);
+static const struct of_device_id tlv320aic23_of_match[] = {
+ { .compatible = "ti,tlv320aic23", },
+ { }
+};
+MODULE_DEVICE_TABLE(of, tlv320aic23_of_match);
+
static struct i2c_driver tlv320aic23_i2c_driver = {
.driver = {
.name = "tlv320aic23-codec",
+ .of_match_table = of_match_ptr(tlv320aic23_of_match),
},
.probe = tlv320aic23_i2c_probe,
.remove = __exit_p(tlv320aic23_i2c_remove),