[PATCH] ARM: OMAP2+: voltage: fixup oscillator handling when CONFIG_PM=n
Tony Lindgren
tony at atomide.com
Wed Nov 14 20:31:54 EST 2012
* Kevin Hilman <khilman at deeprootsystems.com> [121114 17:15]:
> From: Kevin Hilman <khilman at ti.com>
>
> commit 908b75e8 (ARM: OMAP: add support for oscillator setup) added a new
> API for oscillator setup, but is broken when CONFIG_PM=n.
>
> The new functions have dummy definitions when CONFIG_PM=n, but also have
> full implementations available, which conflict.
>
> To fix, wrap the PM implmentations in #ifdef CONFIG_PM.
>
> Cc: Tero Kristo <t-kristo at ti.com>
> Signed-off-by: Kevin Hilman <khilman at ti.com>
> ---
> This applies to Tony's omap-for-v3.8/pm branch, which includes my
> for_3.8-pm-voltage tag where this bug was introduced.
Thanks for fixing this quickly. Applied to omap-for-v3.8/pm-part2
and pushed out.
Regards,
Tony
More information about the linux-arm-kernel
mailing list