aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/clockchips.h
diff options
context:
space:
mode:
authorAlexander Kochetkov <al.kochet@gmail.com>2017-03-22 17:32:49 +0300
committerDaniel Lezcano <daniel.lezcano@linaro.org>2017-03-28 09:39:49 +0200
commit07de36b378a58f1d1426829acf0ab7cf86f651f3 (patch)
tree3c4c3a07fc98b184716f478bc5fa16381102b57b /include/linux/clockchips.h
parentRevert "clocksource/drivers/tcb_clksrc: Use 32 bit tcb as sched_clock" (diff)
downloadlinux-dev-07de36b378a58f1d1426829acf0ab7cf86f651f3.tar.xz
linux-dev-07de36b378a58f1d1426829acf0ab7cf86f651f3.zip
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>
Diffstat (limited to 'include/linux/clockchips.h')
-rw-r--r--include/linux/clockchips.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/clockchips.h b/include/linux/clockchips.h
index 5d3053c34fb3..6d7edc3082f9 100644
--- a/include/linux/clockchips.h
+++ b/include/linux/clockchips.h
@@ -229,7 +229,7 @@ static inline void tick_setup_hrtimer_broadcast(void) { }
#ifdef CONFIG_CLKEVT_PROBE
extern int clockevent_probe(void);
-#els
+#else
static inline int clockevent_probe(void) { return 0; }
#endif