ASoC: codecs: rt*: fix 'defined but not used' warning
[sfrench/cifs-2.6.git] / sound / soc / codecs / rt5660.c
index 78371e51bc34ff7b3353d6e58dec1fc27e94dbf3..9e3813f7583d97948ccc2b64f384076649bf242d 100644 (file)
@@ -1241,12 +1241,14 @@ static const struct of_device_id rt5660_of_match[] = {
 };
 MODULE_DEVICE_TABLE(of, rt5660_of_match);
 
+#ifdef CONFIG_ACPI
 static const struct acpi_device_id rt5660_acpi_match[] = {
        { "10EC5660", 0 },
        { "10EC3277", 0 },
        { },
 };
 MODULE_DEVICE_TABLE(acpi, rt5660_acpi_match);
+#endif
 
 static int rt5660_parse_dt(struct rt5660_priv *rt5660, struct device *dev)
 {