[alsa-devel] [PATCH] ASoC: rt5640: Omit ACPI match table only if !ACPI

Mark Brown broonie at kernel.org
Thu Sep 19 12:45:25 CEST 2013

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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20130919/735e6fd2/attachment.sig>

More information about the Alsa-devel mailing list