aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/max98090.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/soc/codecs/max98090.c b/sound/soc/codecs/max98090.c
index 361862d4fa65..83a773c11ddb 100644
--- a/sound/soc/codecs/max98090.c
+++ b/sound/soc/codecs/max98090.c
@@ -2406,11 +2406,18 @@ static const struct i2c_device_id max98090_i2c_id[] = {
2406}; 2406};
2407MODULE_DEVICE_TABLE(i2c, max98090_i2c_id); 2407MODULE_DEVICE_TABLE(i2c, max98090_i2c_id);
2408 2408
2409static const struct of_device_id max98090_of_match[] = {
2410 { .compatible = "maxim,max98090", },
2411 { }
2412};
2413MODULE_DEVICE_TABLE(of, max98090_of_match);
2414
2409static struct i2c_driver max98090_i2c_driver = { 2415static struct i2c_driver max98090_i2c_driver = {
2410 .driver = { 2416 .driver = {
2411 .name = "max98090", 2417 .name = "max98090",
2412 .owner = THIS_MODULE, 2418 .owner = THIS_MODULE,
2413 .pm = &max98090_pm, 2419 .pm = &max98090_pm,
2420 .of_match_table = of_match_ptr(max98090_of_match),
2414 }, 2421 },
2415 .probe = max98090_i2c_probe, 2422 .probe = max98090_i2c_probe,
2416 .remove = max98090_i2c_remove, 2423 .remove = max98090_i2c_remove,