Skip to content

Commit 07de36b

Browse files
akochetkovdlezcano
authored andcommitted
clockevents: Fix syntax error in clkevt-of macro
The patch fix syntax errors introduced by commit 0c8893c9095d ("clockevents: Add a clkevt-of mechanism like clksrc-of"). Fixes: 0c8893c9095d ("clockevents: Add a clkevt-of mechanism like clksrc-of") Signed-off-by: Alexander Kochetkov <al.kochet@gmail.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
1 parent 33d8c15 commit 07de36b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

drivers/clocksource/clkevt-probe.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
#include <linux/init.h>
1919
#include <linux/of.h>
20-
#include <linux/clockchip.h>
20+
#include <linux/clockchips.h>
2121

2222
extern struct of_device_id __clkevt_of_table[];
2323

include/linux/clockchips.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ static inline void tick_setup_hrtimer_broadcast(void) { }
229229

230230
#ifdef CONFIG_CLKEVT_PROBE
231231
extern int clockevent_probe(void);
232-
#els
232+
#else
233233
static inline int clockevent_probe(void) { return 0; }
234234
#endif
235235

0 commit comments

Comments
 (0)