From: Tomasz Figa Date: Sat, 15 Jun 2013 00:17:33 +0000 (+0900) Subject: ARM: SAMSUNG: Include most of mach/ headers conditionally X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d6280ffb44a3f9bf98efeb214fc46c6b551799f5;p=linux-beck.git 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 53210ec4e8ec..d76ab723e1b7 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