On Fri, Sep 24, 2010 at 8:36 PM, Kevin Hilman
<[email protected]> wrote:
> Silesh C V <[email protected]> writes:
>
>> Fix conditional compilation.
>
> What excatly was the compile error?  and with which compiler?

There is no compiler error.But what we need after an #elif is a
conditional expression.
The correct usage is #elif defined(CONFIG_XXX) rather than #elif CONFIG_XXX.

Further, if the kernel is configured for a non-omap3 arch (eg.OMAP4),
you get a compiler warning:
arch/arm/plat-omap/cpu-omap.c:47:7: warning: "CONFIG_ARCH_OMAP3" is not defined
which goes away with this patch.

>
> The current pm branch  seems to compile fine for me.
>
> Kevin
>

Thanks,
Silesh.
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to