Re: [PATCH] OMAP: PM: CPUFREQ: Fix conditional compilation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 27, 2010 at 11:49 AM, Silesh C V <silesh@xxxxxx> wrote:
> On Fri, Sep 24, 2010 at 8:36 PM, Kevin Hilman
> <khilman@xxxxxxxxxxxxxxxxxxx> wrote:
>> Silesh C V <silesh@xxxxxx> 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.
>

Silesh,

which defconfig are you using with multi omap-build defconfig(omap3_defconfig)

CONFIG_ARCH_OMAP3 will be enabled. So this compilation error will not occur.

---
Regards,
Govindraj.R


>>
>> 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 majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux