diff options
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/common/timer-sp.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-mvebu/armada-370-xp.c | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/arch/arm/common/timer-sp.c b/arch/arm/common/timer-sp.c index 023ee63827a2..e901d0f3e0bb 100644 --- a/arch/arm/common/timer-sp.c +++ b/arch/arm/common/timer-sp.c | |||
@@ -166,7 +166,8 @@ static int sp804_set_next_event(unsigned long next, | |||
166 | } | 166 | } |
167 | 167 | ||
168 | static struct clock_event_device sp804_clockevent = { | 168 | static struct clock_event_device sp804_clockevent = { |
169 | .features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT, | 169 | .features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT | |
170 | CLOCK_EVT_FEAT_DYNIRQ, | ||
170 | .set_mode = sp804_set_mode, | 171 | .set_mode = sp804_set_mode, |
171 | .set_next_event = sp804_set_next_event, | 172 | .set_next_event = sp804_set_next_event, |
172 | .rating = 300, | 173 | .rating = 300, |
diff --git a/arch/arm/mach-mvebu/armada-370-xp.c b/arch/arm/mach-mvebu/armada-370-xp.c index 829b57306328..e2acff98e750 100644 --- a/arch/arm/mach-mvebu/armada-370-xp.c +++ b/arch/arm/mach-mvebu/armada-370-xp.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <linux/of_address.h> | 18 | #include <linux/of_address.h> |
19 | #include <linux/of_platform.h> | 19 | #include <linux/of_platform.h> |
20 | #include <linux/io.h> | 20 | #include <linux/io.h> |
21 | #include <linux/time-armada-370-xp.h> | 21 | #include <linux/clocksource.h> |
22 | #include <linux/dma-mapping.h> | 22 | #include <linux/dma-mapping.h> |
23 | #include <linux/mbus.h> | 23 | #include <linux/mbus.h> |
24 | #include <asm/hardware/cache-l2x0.h> | 24 | #include <asm/hardware/cache-l2x0.h> |
@@ -37,7 +37,7 @@ static void __init armada_370_xp_map_io(void) | |||
37 | static void __init armada_370_xp_timer_and_clk_init(void) | 37 | static void __init armada_370_xp_timer_and_clk_init(void) |
38 | { | 38 | { |
39 | of_clk_init(NULL); | 39 | of_clk_init(NULL); |
40 | armada_370_xp_timer_init(); | 40 | clocksource_of_init(); |
41 | coherency_init(); | 41 | coherency_init(); |
42 | BUG_ON(mvebu_mbus_dt_init()); | 42 | BUG_ON(mvebu_mbus_dt_init()); |
43 | #ifdef CONFIG_CACHE_L2X0 | 43 | #ifdef CONFIG_CACHE_L2X0 |