diff options
Diffstat (limited to 'drivers/clocksource/timer-marco.c')
-rw-r--r-- | drivers/clocksource/timer-marco.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/clocksource/timer-marco.c b/drivers/clocksource/timer-marco.c index 97738dbf3e3b..62876baa3ab9 100644 --- a/drivers/clocksource/timer-marco.c +++ b/drivers/clocksource/timer-marco.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include <linux/of.h> | 17 | #include <linux/of.h> |
18 | #include <linux/of_irq.h> | 18 | #include <linux/of_irq.h> |
19 | #include <linux/of_address.h> | 19 | #include <linux/of_address.h> |
20 | #include <asm/sched_clock.h> | 20 | #include <linux/sched_clock.h> |
21 | #include <asm/localtimer.h> | 21 | #include <asm/localtimer.h> |
22 | #include <asm/mach/time.h> | 22 | #include <asm/mach/time.h> |
23 | 23 | ||
@@ -184,7 +184,7 @@ static struct irqaction sirfsoc_timer1_irq = { | |||
184 | .handler = sirfsoc_timer_interrupt, | 184 | .handler = sirfsoc_timer_interrupt, |
185 | }; | 185 | }; |
186 | 186 | ||
187 | static int __cpuinit sirfsoc_local_timer_setup(struct clock_event_device *ce) | 187 | static int sirfsoc_local_timer_setup(struct clock_event_device *ce) |
188 | { | 188 | { |
189 | /* Use existing clock_event for cpu 0 */ | 189 | /* Use existing clock_event for cpu 0 */ |
190 | if (!smp_processor_id()) | 190 | if (!smp_processor_id()) |
@@ -216,7 +216,7 @@ static void sirfsoc_local_timer_stop(struct clock_event_device *ce) | |||
216 | remove_irq(sirfsoc_timer1_irq.irq, &sirfsoc_timer1_irq); | 216 | remove_irq(sirfsoc_timer1_irq.irq, &sirfsoc_timer1_irq); |
217 | } | 217 | } |
218 | 218 | ||
219 | static struct local_timer_ops sirfsoc_local_timer_ops __cpuinitdata = { | 219 | static struct local_timer_ops sirfsoc_local_timer_ops = { |
220 | .setup = sirfsoc_local_timer_setup, | 220 | .setup = sirfsoc_local_timer_setup, |
221 | .stop = sirfsoc_local_timer_stop, | 221 | .stop = sirfsoc_local_timer_stop, |
222 | }; | 222 | }; |