forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f70575805708cabdedea7498aaa3f710fde4d920
kernel/sound/soc/codecs/cs42l51-i2c.c
....@@ -19,6 +19,12 @@
1919 };
2020 MODULE_DEVICE_TABLE(i2c, cs42l51_i2c_id);
2121
22
+const struct of_device_id cs42l51_of_match[] = {
23
+ { .compatible = "cirrus,cs42l51", },
24
+ { }
25
+};
26
+MODULE_DEVICE_TABLE(of, cs42l51_of_match);
27
+
2228 static int cs42l51_i2c_probe(struct i2c_client *i2c,
2329 const struct i2c_device_id *id)
2430 {