Skip to content

Commit

Permalink
clockevents: Fix syntax error in clkevt-of macro
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
  • Loading branch information
akochetkov authored and dlezcano committed Mar 28, 2017
1 parent 33d8c15 commit 07de36b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/clocksource/clkevt-probe.c
Original file line number Diff line number Diff line change
Expand Up @@ -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[];

Expand Down
2 changes: 1 addition & 1 deletion include/linux/clockchips.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 07de36b

Please sign in to comment.