summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Dufour2013-01-29 11:08:08 +0100
committerOlivier Dufour2013-01-29 11:08:08 +0100
commit5364f5fee7493e14cb7f03ad7eb26f83477cc029 (patch)
tree2343da1ab7d152ac8bf01222ab15d34d1f1953da
parent3f4289de6fde4c2c44900c3acaf1c559231af84c (diff)
polux/linux/include: include spc300-atag.h only for mse500, refs #3706
-rw-r--r--polux/linux-2.6.10/include/asm-arm/setup.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/polux/linux-2.6.10/include/asm-arm/setup.h b/polux/linux-2.6.10/include/asm-arm/setup.h
index 14f9effeeb..886bb152ad 100644
--- a/polux/linux-2.6.10/include/asm-arm/setup.h
+++ b/polux/linux-2.6.10/include/asm-arm/setup.h
@@ -142,8 +142,9 @@ struct tag_memclk {
};
/* SPiDCOM MSE500 specific information */
-#include <asm/arch/spc300-atag.h>
-
+#if defined (CONFIG_ARCH_MSE500)
+# include <asm/arch/spc300-atag.h>
+#endif
#define ATAG_MSE500 ATAG_SPC300
struct tag {
@@ -172,7 +173,9 @@ struct tag {
/*
* MSE500 specific
*/
+#if defined (CONFIG_ARCH_MSE500)
struct tag_spc300 mse500;
+#endif
} u;
};