diff options
author | Thierry Reding <thierry.reding@gmail.com> | 2013-09-19 11:18:06 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-09-19 12:41:03 +0200 |
commit | 32fcb97b9f699f63742bcaadca6e0beede86e8e8 (patch) | |
tree | f398db1c4680891c8b7b6b8bea372e3623b9f82a /fs/compat.c | |
parent | ASoC: rt5640: Add ACPI probing support. (diff) | |
download | linux-32fcb97b9f699f63742bcaadca6e0beede86e8e8.tar.xz linux-32fcb97b9f699f63742bcaadca6e0beede86e8e8.zip |
ASoC: rt5640: Omit ACPI match table only if !ACPI
The ACPI_PTR() macro evaluates to NULL if ACPI is disabled and hence the
ACPI match table won't be used, causing the compiler to complain. Avoid
this by protecting the table using an #ifdef CONFIG_ACPI.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'fs/compat.c')
0 files changed, 0 insertions, 0 deletions