[PATCH 1/1] clocksource: vf_pit_timer: Fix build breakage

From: Sachin Kamat
Date: Tue Jun 25 2013 - 08:01:32 EST


asm/sched_clock.h does not exist. Use linux/sched_clock.h instead.
Without this patch we get the following build error (introduced by commit
c1967249 ("clocksource: Add Freescale Vybrid pit timer support")):

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

Signed-off-by: Sachin Kamat <sachin.kamat@xxxxxxxxxx>
Cc: Jingchang Lu <b35083@xxxxxxxxxxxxx>
Cc: Daniel Lezcano <daniel.lezcano@xxxxxxxxxx>
Cc: Shawn Guo <shawn.guo@xxxxxxxxxx>
---
Compile tested only.
---
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.7.9.5

--
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/