Skip to contentSkip to conversation

arm_arch_timer: include clocksource.h directly

PATCH Applied Richard Cochran 2 participants 2 messages Jan 6, 2015

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

PATCH 1/1 arm_arch_timer: include clocksource.h directly

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.

---
 drivers/clocksource/arm_arch_timer.c |    1 +
 1 file changed, 1 insertion(+)
drivers/clocksource/arm_arch_timer.c +1 -0
index 6a79fc4..8e67e72 100644
@@ -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>
Signature · 1 line
1.7.10.4
maintainer Applied
#1 lore raw

From: Richard Cochran <[email protected]>
Date: Tue, 6 Jan 2015 14:26:13 +0100

Quoted 8 lines

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.

Applied.