[PATCH 12/14] AMBA: CLCD: LPC32XX register swap in the clcd header file

wellsk40 at gmail.com wellsk40 at gmail.com
Mon Feb 8 19:11:33 EST 2010


From: Kevin Wells <wellsk40 at gmail.com>

The CTRL and IENB registers need to be swapped for the LPC32XX
arch.

Signed-off-by: Kevin Wells <wellsk40 at gmail.com>
---
 include/linux/amba/clcd.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/include/linux/amba/clcd.h b/include/linux/amba/clcd.h
index 29c0448..8d0d491 100644
--- a/include/linux/amba/clcd.h
+++ b/include/linux/amba/clcd.h
@@ -21,7 +21,8 @@
 #define CLCD_UBAS 		0x00000010
 #define CLCD_LBAS 		0x00000014
 
-#if !defined(CONFIG_ARCH_VERSATILE) && !defined(CONFIG_ARCH_REALVIEW)
+#if !defined(CONFIG_ARCH_VERSATILE) && !defined(CONFIG_ARCH_REALVIEW)\
+	&& !defined(CONFIG_ARCH_LPC32XX)
 #define CLCD_IENB 		0x00000018
 #define CLCD_CNTL 		0x0000001c
 #else
-- 
1.6.6




More information about the linux-arm-kernel mailing list