Commit | Line | Data |
---|---|---|
7a0eca71 RH |
1 | struct clk; |
2 | ||
a7bf6162 | 3 | void __sp804_clocksource_and_sched_clock_init(void __iomem *, |
7a0eca71 RH |
4 | const char *, struct clk *, int); |
5 | void __sp804_clockevents_init(void __iomem *, unsigned int, | |
6 | struct clk *, const char *); | |
a7bf6162 RH |
7 | |
8 | static inline void sp804_clocksource_init(void __iomem *base, const char *name) | |
9 | { | |
7a0eca71 | 10 | __sp804_clocksource_and_sched_clock_init(base, name, NULL, 0); |
a7bf6162 RH |
11 | } |
12 | ||
13 | static inline void sp804_clocksource_and_sched_clock_init(void __iomem *base, | |
14 | const char *name) | |
15 | { | |
7a0eca71 | 16 | __sp804_clocksource_and_sched_clock_init(base, name, NULL, 1); |
a7bf6162 RH |
17 | } |
18 | ||
7a0eca71 RH |
19 | static inline void sp804_clockevents_init(void __iomem *base, unsigned int irq, const char *name) |
20 | { | |
21 | __sp804_clockevents_init(base, irq, NULL, name); | |
22 | ||
23 | } |