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