|
@@ -2082,11 +2082,13 @@ static const struct i2c_device_id rt5640_i2c_id[] = {
|
|
};
|
|
};
|
|
MODULE_DEVICE_TABLE(i2c, rt5640_i2c_id);
|
|
MODULE_DEVICE_TABLE(i2c, rt5640_i2c_id);
|
|
|
|
|
|
|
|
+#ifdef CONFIG_ACPI
|
|
static struct acpi_device_id rt5640_acpi_match[] = {
|
|
static struct acpi_device_id rt5640_acpi_match[] = {
|
|
{ "INT33CA", 0 },
|
|
{ "INT33CA", 0 },
|
|
{ },
|
|
{ },
|
|
};
|
|
};
|
|
MODULE_DEVICE_TABLE(acpi, rt5640_acpi_match);
|
|
MODULE_DEVICE_TABLE(acpi, rt5640_acpi_match);
|
|
|
|
+#endif
|
|
|
|
|
|
static int rt5640_parse_dt(struct rt5640_priv *rt5640, struct device_node *np)
|
|
static int rt5640_parse_dt(struct rt5640_priv *rt5640, struct device_node *np)
|
|
{
|
|
{
|