linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] clockevents: fix syntax errors
@ 2017-03-22 14:32 Alexander Kochetkov
  2017-03-22 14:42 ` Daniel Lezcano
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Kochetkov @ 2017-03-22 14:32 UTC (permalink / raw)
  To: Daniel Lezcano, Thomas Gleixner, linux-kernel; +Cc: 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")
Signed-off-by: Alexander Kochetkov <al.kochet@gmail.com>
---
 drivers/clocksource/clkevt-probe.c |    2 +-
 include/linux/clockchips.h         |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/clocksource/clkevt-probe.c b/drivers/clocksource/clkevt-probe.c
index 86c096a..fa02ac1 100644
--- a/drivers/clocksource/clkevt-probe.c
+++ b/drivers/clocksource/clkevt-probe.c
@@ -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[];
 
diff --git a/include/linux/clockchips.h b/include/linux/clockchips.h
index 5d3053c..6d7edc3 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
 
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] clockevents: fix syntax errors
  2017-03-22 14:32 [PATCH] clockevents: fix syntax errors Alexander Kochetkov
@ 2017-03-22 14:42 ` Daniel Lezcano
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Lezcano @ 2017-03-22 14:42 UTC (permalink / raw)
  To: Alexander Kochetkov; +Cc: Thomas Gleixner, linux-kernel

On Wed, Mar 22, 2017 at 05:32:49PM +0300, Alexander Kochetkov wrote:
> 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>
> ---

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

Applied. Thanks for the fix!

  -- Daniel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-03-22 14:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-22 14:32 [PATCH] clockevents: fix syntax errors Alexander Kochetkov
2017-03-22 14:42 ` Daniel Lezcano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).