ARM: integrator: move AP timer to clocksource
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 15 Oct 2014 13:30:25 +0000 (15:30 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 28 Oct 2014 14:42:34 +0000 (15:42 +0100)
commitbeb5818bd012953c79de38f9726f327d8e311569
treeeea623f0319fe7aa988fb96cc97ef17cea62852d
parent9713497b6c64c67c8763f8f07fad325b193764b6
ARM: integrator: move AP timer to clocksource

This moves the timer/clocksource implementation for the
Integrator/AP down to drivers/clocksource and augments the
driver a little to use CLOCKSOURCE_OF_DECLARE(). Remove
the static mapping of the timer blocks while we're at it.

Tested on the Integrator/AP.

Acked-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-integrator/integrator_ap.c
drivers/clocksource/Makefile
drivers/clocksource/timer-integrator-ap.c [new file with mode: 0644]