Commit | Line | Data |
---|---|---|
6fa3eb70 S |
1 | #ifndef __MT_TIMER_H__ |
2 | #define __MT_TIMER_H__ | |
3 | ||
4 | #include <linux/clockchips.h> | |
5 | #include <linux/interrupt.h> | |
6 | #include <linux/irq.h> | |
7 | ||
8 | /* | |
9 | * Define data structures. | |
10 | */ | |
11 | ||
12 | typedef void (*clock_init_func)(void); | |
13 | ||
14 | struct mt_clock | |
15 | { | |
16 | struct clock_event_device clockevent; | |
17 | struct clocksource clocksource; | |
18 | struct irqaction irq; | |
19 | clock_init_func init_func; | |
20 | }; | |
21 | ||
22 | #endif /* !__MT_TIMER_H__ */ | |
23 |