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 cb47fb595ff412fd6a4a80aaf5a7d1e7f67f3ca6..1e0d5973b758e7563ec8e356d025c1b48f2a505e 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,