We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7379907 commit e95122aCopy full SHA for e95122a
sound/soc/codecs/aw88399.c
@@ -2330,9 +2330,18 @@ static const struct i2c_device_id aw88399_i2c_id[] = {
2330
};
2331
MODULE_DEVICE_TABLE(i2c, aw88399_i2c_id);
2332
2333
+#ifdef CONFIG_ACPI
2334
+static const struct acpi_device_id aw88399_acpi_match[] = {
2335
+ { "AWDZ8399", 0 },
2336
+ { },
2337
+};
2338
+MODULE_DEVICE_TABLE(acpi, aw88399_acpi_match);
2339
+#endif
2340
+
2341
static struct i2c_driver aw88399_i2c_driver = {
2342
.driver = {
2343
.name = AW88399_I2C_NAME,
2344
+ .acpi_match_table = ACPI_PTR(aw88399_acpi_match),
2345
},
2346
.probe = aw88399_i2c_probe,
2347
.id_table = aw88399_i2c_id,
0 commit comments