All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next] arm_arch_timer: include clocksource.h directly
@ 2015-01-06 13:26 Richard Cochran
  2015-01-06 18:27 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Cochran @ 2015-01-06 13:26 UTC (permalink / raw)
  To: netdev; +Cc: linux-kernel, David Miller, Guenter Roeck

This driver makes use of the clocksource code. Previously it had only
included the proper header indirectly, but that chain was inadvertently
broken by 74d23cc "time: move the timecounter/cyclecounter code into its
own file."

This patch fixes the issue by including clocksource.h directly.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
---
 drivers/clocksource/arm_arch_timer.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clocksource/arm_arch_timer.c b/drivers/clocksource/arm_arch_timer.c
index 6a79fc4..8e67e72 100644
--- a/drivers/clocksource/arm_arch_timer.c
+++ b/drivers/clocksource/arm_arch_timer.c
@@ -15,6 +15,7 @@
 #include <linux/cpu.h>
 #include <linux/cpu_pm.h>
 #include <linux/clockchips.h>
+#include <linux/clocksource.h>
 #include <linux/interrupt.h>
 #include <linux/of_irq.h>
 #include <linux/of_address.h>
-- 
1.7.10.4


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

* Re: [PATCH net-next] arm_arch_timer: include clocksource.h directly
  2015-01-06 13:26 [PATCH net-next] arm_arch_timer: include clocksource.h directly Richard Cochran
@ 2015-01-06 18:27 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2015-01-06 18:27 UTC (permalink / raw)
  To: richardcochran; +Cc: netdev, linux-kernel, linux

From: Richard Cochran <richardcochran@gmail.com>
Date: Tue,  6 Jan 2015 14:26:13 +0100

> This driver makes use of the clocksource code. Previously it had only
> included the proper header indirectly, but that chain was inadvertently
> broken by 74d23cc "time: move the timecounter/cyclecounter code into its
> own file."
> 
> This patch fixes the issue by including clocksource.h directly.
> 
> Signed-off-by: Richard Cochran <richardcochran@gmail.com>

Applied.

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

end of thread, other threads:[~2015-01-06 18:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-06 13:26 [PATCH net-next] arm_arch_timer: include clocksource.h directly Richard Cochran
2015-01-06 18:27 ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.