kernel/sound/soc/codecs/cs42l51-i2c.c
.. .. @@ -19,6 +19,12 @@ 19 19 }; 20 20 MODULE_DEVICE_TABLE(i2c, cs42l51_i2c_id); 21 21 22 +const struct of_device_id cs42l51_of_match[] = {23 + { .compatible = "cirrus,cs42l51", },24 + { }25 +};26 +MODULE_DEVICE_TABLE(of, cs42l51_of_match);27 +22 28 static int cs42l51_i2c_probe(struct i2c_client *i2c, 23 29 const struct i2c_device_id *id) 24 30 {