Subject: Re: [PATCH] clocksource: fix Freescale Vybrid pit timer compilation

From: Daniel Lezcano <[email-masked]>
Date: Thu, 20 Jun 2013 11:37:26 +0200

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é <[email-masked]>
> Cc: Jingchang Lu <[email-masked]>
> Cc: John Stultz <[email-masked]>
> Cc: Thomas Gleixner <[email-masked]>
> Cc: [email-masked]
> ---

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