From d6280ffb44a3f9bf98efeb214fc46c6b551799f5 Mon Sep 17 00:00:00 2001 From: Tomasz Figa Date: Sat, 15 Jun 2013 09:17:33 +0900 Subject: ARM: SAMSUNG: Include most of mach/ headers conditionally Since it is illegal to include mach/ headers from source files outside of respective mach-* directory and DT-only Samsung platforms might not have all of them anyway, this patches makes inclusion of them conditional, based on CONFIG_SAMSUNG_ATAGS. Signed-off-by: Tomasz Figa Signed-off-by: Kyungmin Park Acked-by: Arnd Bergmann Signed-off-by: Kukjin Kim diff --git a/arch/arm/plat-samsung/pm.c b/arch/arm/plat-samsung/pm.c index 53210ec..d76ab72 100644 --- a/arch/arm/plat-samsung/pm.c +++ b/arch/arm/plat-samsung/pm.c @@ -21,13 +21,17 @@ #include #include -#include -#include #include + +#ifdef CONFIG_SAMSUNG_ATAGS +#include +#include #include #include #include +#endif + #include #include -- cgit v0.10.2