regulator: s2mps11: Fix GPIO suspend enable shift wrapping bug
[linux-drm-fsl-dcu.git] / arch / arm / include / asm / hardware / timer-sp.h
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         __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         __sp804_clockevents_init(base, irq, NULL, name);
22
23 }