diff options
Diffstat (limited to 'arch/arm/common')
-rw-r--r-- | arch/arm/common/timer-sp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/common/timer-sp.c b/arch/arm/common/timer-sp.c index 445b05ee8511..f6b9011744aa 100644 --- a/arch/arm/common/timer-sp.c +++ b/arch/arm/common/timer-sp.c | |||
@@ -32,7 +32,7 @@ | |||
32 | #define TIMER_FREQ_KHZ (1000) | 32 | #define TIMER_FREQ_KHZ (1000) |
33 | #define TIMER_RELOAD (TIMER_FREQ_KHZ * 1000 / HZ) | 33 | #define TIMER_RELOAD (TIMER_FREQ_KHZ * 1000 / HZ) |
34 | 34 | ||
35 | void __init sp804_clocksource_init(void __iomem *base) | 35 | void __init sp804_clocksource_init(void __iomem *base, const char *name) |
36 | { | 36 | { |
37 | /* setup timer 0 as free-running clocksource */ | 37 | /* setup timer 0 as free-running clocksource */ |
38 | writel(0, base + TIMER_CTRL); | 38 | writel(0, base + TIMER_CTRL); |
@@ -41,7 +41,7 @@ void __init sp804_clocksource_init(void __iomem *base) | |||
41 | writel(TIMER_CTRL_32BIT | TIMER_CTRL_ENABLE | TIMER_CTRL_PERIODIC, | 41 | writel(TIMER_CTRL_32BIT | TIMER_CTRL_ENABLE | TIMER_CTRL_PERIODIC, |
42 | base + TIMER_CTRL); | 42 | base + TIMER_CTRL); |
43 | 43 | ||
44 | clocksource_mmio_init(base + TIMER_VALUE, "timer3", | 44 | clocksource_mmio_init(base + TIMER_VALUE, name, |
45 | TIMER_FREQ_KHZ * 1000, 200, 32, clocksource_mmio_readl_down); | 45 | TIMER_FREQ_KHZ * 1000, 200, 32, clocksource_mmio_readl_down); |
46 | } | 46 | } |
47 | 47 | ||