Re: [alsa-devel] [PATCH] ASoC: rt5640: Omit ACPI match table only if !ACPI
19 Sep
2013
19 Sep
'13
10:45 a.m.
On Thu, Sep 19, 2013 at 11:18:06AM +0200, Thierry Reding wrote:
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.
Applied, thanks. Like I was saying to Olof we really should be able to do better than needing the ifdefs though.
4060
Age (days ago)
4060
Last active (days ago)
0 comments
1 participants
participants (1)
-
Mark Brown