[PATCH] ARM: at91: fix at91_aic_write macro

Nicolas Ferre nicolas.ferre at atmel.com
Thu Jun 7 08:30:43 EDT 2012


On 05/31/2012 05:26 PM, ludovic.desroches at atmel.com :
> From: Ludovic Desroches <ludovic.desroches at atmel.com>
> 
> Fix at91_aic_write macro to avoid potential issues.
> 
> Signed-off-by: Ludovic Desroches <ludovic.desroches at atmel.com>

Acked-by: Nicolas Ferre <nicolas.ferre at atmel.com>

And queued in the AT91 branch at91-3.6-cleanup on
git://github.com/at91linux/linux-at91.git

Thanks,

> ---
>  arch/arm/mach-at91/include/mach/at91_aic.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/arm/mach-at91/include/mach/at91_aic.h b/arch/arm/mach-at91/include/mach/at91_aic.h
> index 3045781..c1413ed 100644
> --- a/arch/arm/mach-at91/include/mach/at91_aic.h
> +++ b/arch/arm/mach-at91/include/mach/at91_aic.h
> @@ -23,7 +23,7 @@ extern void __iomem *at91_aic_base;
>  	__raw_readl(at91_aic_base + field)
>  
>  #define at91_aic_write(field, value) \
> -	__raw_writel(value, at91_aic_base + field);
> +	__raw_writel(value, at91_aic_base + field)
>  #else
>  .extern at91_aic_base
>  #endif


-- 
Nicolas Ferre



More information about the linux-arm-kernel mailing list