lkml.org 
[lkml]   [2013]   [Sep]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ASoC: rt5640: Omit ACPI match table only if !ACPI
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.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2013-09-19 13:01    [W:0.263 / U:0.520 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site