18 #include <linux/kernel.h>
20 #include <linux/device.h>
28 static DEFINE_PER_CPU(
struct clock_event_device, local_clockevent);
38 clk->event_handler(clk);
42 static void dummy_timer_set_mode(
enum clock_event_mode
mode,
43 struct clock_event_device *
clk)
49 struct clock_event_device *
clk = &
per_cpu(local_clockevent, cpu);
51 clk->name =
"dummy_timer";
52 clk->features = CLOCK_EVT_FEAT_ONESHOT |
53 CLOCK_EVT_FEAT_PERIODIC |
57 clk->set_mode = dummy_timer_set_mode;