Skip to contentSkip to conversation

clockevents: fix syntax errors

PATCH Applied Alexander Kochetkov 2 participants 2 messages Mar 22, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clockevents: fix syntax errors

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")
---
 drivers/clocksource/clkevt-probe.c |    2 +-
 include/linux/clockchips.h         |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/clocksource/clkevt-probe.c +1 -1
index 86c096a..fa02ac1 100644
@@ -17,7 +17,7 @@
 
 #include <linux/init.h>
 #include <linux/of.h>
-#include <linux/clockchip.h>
+#include <linux/clockchips.h>
 
 extern struct of_device_id __clkevt_of_table[];
 
include/linux/clockchips.h +1 -1
index 5d3053c..6d7edc3 100644
@@ -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
 
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 6 lines · Alexander Kochetkov

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")

---

I have no idea how I can have missed these two errors :(

Applied. Thanks for the fix!

-- Daniel