Subject: mxc: do not include board specific header from architecture include
From: Sascha Hauer <s.hauer@pengutronix.de>

do not include board-mx31ads.h from hardware.h, instead include it
directly where needed.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 arch/arm/mach-mx3/mx31ads.c         |    1 +
 include/asm-arm/arch-mxc/hardware.h |    9 ---------
 2 files changed, 1 insertion(+), 9 deletions(-)

Index: linux-2.6.26-rc6/arch/arm/mach-mx3/mx31ads.c
===================================================================
--- linux-2.6.26-rc6.orig/arch/arm/mach-mx3/mx31ads.c
+++ linux-2.6.26-rc6/arch/arm/mach-mx3/mx31ads.c
@@ -30,6 +30,7 @@
 #include <asm/memory.h>
 #include <asm/mach/map.h>
 #include <asm/arch/common.h>
+#include <asm/arch/board-mx31ads.h>
 
 /*!
  * @file mx31ads.c
Index: linux-2.6.26-rc6/include/asm-arm/arch-mxc/hardware.h
===================================================================
--- linux-2.6.26-rc6.orig/include/asm-arm/arch-mxc/hardware.h
+++ linux-2.6.26-rc6/include/asm-arm/arch-mxc/hardware.h
@@ -19,13 +19,4 @@
 
 #include <asm/arch/mxc.h>
 
-/*
- * ---------------------------------------------------------------------------
- * Board specific defines
- * ---------------------------------------------------------------------------
- */
-#ifdef CONFIG_MACH_MX31ADS
-# include <asm/arch/board-mx31ads.h>
-#endif
-
 #endif /* __ASM_ARCH_MXC_HARDWARE_H__ */
