[PATCH] clocksource: vf_pit_timer: Use <linux/sched_clock.h>

From: Fabio Estevam
Date: Mon Jun 24 2013 - 19:28:19 EST


From: Fabio Estevam <fabio.estevam@xxxxxxxxxxxxx>

Commit 38ff87f7 (sched_clock: Make ARM's sched_clock generic for all
architectures) changed the header to <linux/sched_clock.h>, so adapt it in order
to fix the following build error:

drivers/clocksource/vf_pit_timer.c:15:29: fatal error: asm/sched_clock.h: No such file or directory

Signed-off-by: Fabio Estevam <fabio.estevam@xxxxxxxxxxxxx>
---
drivers/clocksource/vf_pit_timer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clocksource/vf_pit_timer.c b/drivers/clocksource/vf_pit_timer.c
index 598399d..587e020 100644
--- a/drivers/clocksource/vf_pit_timer.c
+++ b/drivers/clocksource/vf_pit_timer.c
@@ -12,7 +12,7 @@
#include <linux/clk.h>
#include <linux/of_address.h>
#include <linux/of_irq.h>
-#include <asm/sched_clock.h>
+#include <linux/sched_clock.h>

/*
* Each pit takes 0x10 Bytes register space
--
1.8.1.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/