[PATCH v2 08/17] omap: mailbox: only compile for configured archs

Felipe Contreras felipe.contreras at gmail.com
Fri May 14 18:24:15 EDT 2010


On Sat, May 15, 2010 at 12:27 AM, Kanigeri, Hari <h-kanigeri2 at ti.com> wrote:
>>
>> -     if (cpu_is_omap3430()) {
>> +     if (false);
>
> -- Is this statement needed ?

Yeah, so:

if (false);
#if 0
else if (foo) {
}
#endif
else {
  return -1;
}

Works.

-- 
Felipe Contreras



More information about the linux-arm-kernel mailing list