summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/vf_pit_timer.c
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2013-06-24 20:20:08 -0300
committerThomas Gleixner <tglx@linutronix.de>2013-06-25 01:41:48 +0200
commit2699339361a9bacb3fa663e6b8981a040cfca4ee (patch)
tree6fe38f37a79391bce3db56f311d0f3b83711fad0 /drivers/clocksource/vf_pit_timer.c
parent67c120dc33831c1c9c9b36b4eca3323ba1f472a1 (diff)
downloadop-kernel-dev-2699339361a9bacb3fa663e6b8981a040cfca4ee.zip
op-kernel-dev-2699339361a9bacb3fa663e6b8981a040cfca4ee.tar.gz
clocksource: vf_pit_timer: Use linux/sched_clock.h
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@freescale.com> Cc: shawn.guo@linaro.org Cc: sboyd@codeaurora.org Cc: john.stultz@linaro.org Link: http://lkml.kernel.org/r/1372116008-2323-1-git-send-email-festevam@gmail.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/clocksource/vf_pit_timer.c')
-rw-r--r--drivers/clocksource/vf_pit_timer.c2
1 files changed, 1 insertions, 1 deletions
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
OpenPOWER on IntegriCloud