From: Thierry Reding Date: Thu, 19 Sep 2013 09:18:06 +0000 (+0200) Subject: ASoC: rt5640: Omit ACPI match table only if !ACPI X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~14^2~72^2~16^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32fcb97b9f699f63742bcaadca6e0beede86e8e8;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed