arm_arch_timer: include clocksource.h directly
authorRichard Cochran <richardcochran@gmail.com>
Tue, 6 Jan 2015 13:26:13 +0000 (14:26 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Jan 2015 18:18:50 +0000 (13:18 -0500)
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/clocksource/arm_arch_timer.c

index 6a79fc4f900c4b56b4bd351cf050aa5c2b67175e..8e67e72f87951604f4c2ab068b887d74b7d65df6 100644 (file)
@@ -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>