[PATCH] arm/plat-mxc: Fix forgotten renaming in timer.c

Amit Kucheria amit.kucheria at canonical.com
Fri Apr 23 02:17:41 EDT 2010


On 10 Apr 23, Wolfram Sang wrote:
> Commit "mxc: Change gpt timer code to be more generic by using V2
> instead of MX3" forgot to replace one occurence causing a build
> failure.
> 
> Signed-off-by: Wolfram Sang <w.sang at pengutronix.de>
> Cc: Amit Kucheria <amit.kucheria at canonical.com>
> Cc: Sascha Hauer <s.hauer at pengutronix.de>

Oops-Acked-by: Amit Kucheria <amit.kucheria at canonical.com>

Thanks for the catch. :)

> ---
>  arch/arm/plat-mxc/time.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/arm/plat-mxc/time.c b/arch/arm/plat-mxc/time.c
> index 714bdef..f9a1b05 100644
> --- a/arch/arm/plat-mxc/time.c
> +++ b/arch/arm/plat-mxc/time.c
> @@ -102,7 +102,7 @@ static void gpt_irq_acknowledge(void)
>  			__raw_writel(MX2_TSTAT_CAPT | MX2_TSTAT_COMP,
>  				timer_base + MX1_2_TSTAT);
>  	} else if (timer_is_v2())
> -		__raw_writel(MX3_TSTAT_OF1, timer_base + MX3_TSTAT);
> +		__raw_writel(V2_TSTAT_OF1, timer_base + V2_TSTAT);
>  }
>  
>  static cycle_t mx1_2_get_cycles(struct clocksource *cs)
> -- 
> 1.7.0
> 

-- 
----------------------------------------------------------------------
Amit Kucheria, Kernel Engineer || amit.kucheria at canonical.com
----------------------------------------------------------------------



More information about the linux-arm-kernel mailing list