* [PATCH] clocksource: fix Freescale Vybrid pit timer compilation
@ 2013-06-20 9:09 Vincent Stehlé
2013-06-20 9:37 ` Daniel Lezcano
0 siblings, 1 reply; 2+ messages in thread
From: Vincent Stehlé @ 2013-06-20 9:09 UTC (permalink / raw)
To: linux-next
Cc: Vincent Stehlé, Jingchang Lu, John Stultz, Thomas Gleixner,
trivial
Update sched_clock.h path to fix the following compilation error:
drivers/clocksource/vf_pit_timer.c:15:29: fatal error: asm/sched_clock.h: No such file or directory
compilation terminated.
Signed-off-by: Vincent Stehlé <vincent.stehle@freescale.com>
Cc: Jingchang Lu <b35083@freescale.com>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: trivial@kernel.org
---
Hi,
Compilation of imx_v6_v7_defconfig in linux-next just broke. Here is a fix.
Best regards,
V.
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.10.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] clocksource: fix Freescale Vybrid pit timer compilation
2013-06-20 9:09 [PATCH] clocksource: fix Freescale Vybrid pit timer compilation Vincent Stehlé
@ 2013-06-20 9:37 ` Daniel Lezcano
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Lezcano @ 2013-06-20 9:37 UTC (permalink / raw)
To: Vincent Stehlé
Cc: linux-next, Jingchang Lu, John Stultz, Thomas Gleixner, trivial
On 06/20/2013 11:09 AM, Vincent Stehlé wrote:
> Update sched_clock.h path to fix the following compilation error:
>
> drivers/clocksource/vf_pit_timer.c:15:29: fatal error: asm/sched_clock.h: No such file or directory
> compilation terminated.
>
> Signed-off-by: Vincent Stehlé <vincent.stehle@freescale.com>
> Cc: Jingchang Lu <b35083@freescale.com>
> Cc: John Stultz <john.stultz@linaro.org>
> Cc: Thomas Gleixner <tglx@linutronix.de>
> Cc: trivial@kernel.org
> ---
Applied in my tree:
https://git.linaro.org/gitweb?p=people/dlezcano/clockevents.git;a=commit;h=533bac4630b69e201aed29a2bbf5df595df8d5fa
Thanks
-- Daniel
> Hi,
>
> Compilation of imx_v6_v7_defconfig in linux-next just broke. Here is a fix.
>
> Best regards,
>
> V.
>
>
> 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
>
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-06-20 9:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-20 9:09 [PATCH] clocksource: fix Freescale Vybrid pit timer compilation Vincent Stehlé
2013-06-20 9:37 ` Daniel Lezcano
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).