OSDN Git Service

clocksource: sirf/marco+prima2: drop usage of CLOCK_TICK_RATE
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Mon, 11 Nov 2013 20:06:11 +0000 (21:06 +0100)
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 20 Dec 2013 10:41:34 +0000 (11:41 +0100)
commit980c51ab0774b7cd701eeb84056c148f84e152d8
tree82347e3b0c08678fa05a71c17a0f07ffe1248c94
parentecfc5f2c00ea12fb6bc696d636b8c3a36ae057a9
clocksource: sirf/marco+prima2: drop usage of CLOCK_TICK_RATE

Since CSR SiRF was converted to multi platform in cf82e0e (ARM: sirf:
enable multiplatform support) the symbol CLOCK_TICK_RATE isn't the
platform specific definition any more, but a global dummy value. There
was no harm introduced in cf82e0e because the global value happens to
match the old platform specific one, still this dummy value isn't
intended to be used and will hopefully disappear soon, so introduce a
local #define and use that instead.

Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
drivers/clocksource/timer-marco.c
drivers/clocksource/timer-prima2.c