ASoC: cs53l30: Set .of_match_table to OF device ID table
authorJavier Martinez Canillas <javier@osg.samsung.com>
Tue, 4 Apr 2017 18:59:30 +0000 (14:59 -0400)
committerMark Brown <broonie@kernel.org>
Wed, 5 Apr 2017 17:19:46 +0000 (18:19 +0100)
The driver has an OF device ID table but the struct i2c_driver
.of_match_table field is not set.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs53l30.c

index cb47fb5..1e0d597 100644 (file)
@@ -1130,6 +1130,7 @@ MODULE_DEVICE_TABLE(i2c, cs53l30_id);
 static struct i2c_driver cs53l30_i2c_driver = {
        .driver = {
                .name = "cs53l30",
+               .of_match_table = cs53l30_of_match,
                .pm = &cs53l30_runtime_pm,
        },
        .id_table = cs53l30_id,