On 21 November 2013 19:50, Graeme Gregory <graeme.gregory@linaro.org> wrote:
Internally include file is already protected in the case of #ifndef
CONFIG_ACPI so we don't need these checks.

Signed-off-by: Graeme Gregory <graeme.gregory@linaro.org>

Acked-by: Hanjun Guo <hanjun.guo@linaro.org>
 
---
 arch/arm/kernel/setup.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c
index c3ed159..953ac40 100644
--- a/arch/arm/kernel/setup.c
+++ b/arch/arm/kernel/setup.c
@@ -30,9 +30,7 @@
 #include <linux/bug.h>
 #include <linux/compiler.h>
 #include <linux/sort.h>
-#ifdef CONFIG_ACPI
 #include <linux/acpi.h>
-#endif

 #include <asm/unified.h>
 #include <asm/cp15.h>
--
1.8.3.1


_______________________________________________
Linaro-acpi mailing list
Linaro-acpi@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-acpi