ARM: sa11x0/pxa: acquire timer rate from the clock rate
As both pxa and sa1100 provide a clock to the timer, the rate can be inferred from the clock rather than hard encoded in a functional call. This patch changes the pxa timer to have a mandatory clock which is used as the timer rate. Signed-off-by:Robert Jarzmik <robert.jarzmik@free.fr> Acked-by:
Daniel Lezcano <daniel.lezcano@linaro.org> Acked-by:
Russell King <rmk+kernel@armlinux.org.uk>
Showing
- arch/arm/mach-pxa/generic.c 1 addition, 2 deletionsarch/arm/mach-pxa/generic.c
- arch/arm/mach-sa1100/generic.c 1 addition, 1 deletionarch/arm/mach-sa1100/generic.c
- drivers/clocksource/pxa_timer.c 5 additions, 6 deletionsdrivers/clocksource/pxa_timer.c
- include/clocksource/pxa.h 1 addition, 2 deletionsinclude/clocksource/pxa.h
Please register or sign in to comment