[PATCH] clocksource: always define CLOCKSOURCE_OF_DECLARE

Olof Johansson olof at lixom.net
Thu Jan 31 22:57:48 EST 2013


On Wed, Jan 30, 2013 at 10:49:30AM -0700, Stephen Warren wrote:
> From: Stephen Warren <swarren at nvidia.com>
> 
> This allows clocksource drivers that support both DT and non-DT to
> always invoke macro CLOCKSOURCE_OF_DECLARE(), rather than wrapping
> it in a #ifdef CONFIG_CLKSRC_OF, which simplifies their code.
> 
> Signed-off-by: Stephen Warren <swarren at nvidia.com>
> ---
> Olof, Arnd, this is based on arm-soc's timer/cleanup branch, which is
> probably the best place for this patch.

Applied (to next/cleanup).


-Olof



More information about the linux-arm-kernel mailing list