[PATCH] ARM: at91: fix at91_aic_write macro

ludovic.desroches at atmel.com ludovic.desroches at atmel.com
Thu May 31 11:26:05 EDT 2012


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>
---
 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
-- 
1.7.5.4




More information about the linux-arm-kernel mailing list