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>
---
 arch/arm64/kernel/setup.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c
index 75c5995..69f283b 100644
--- a/arch/arm64/kernel/setup.c
+++ b/arch/arm64/kernel/setup.c
@@ -41,9 +41,7 @@
 #include <linux/memblock.h>
 #include <linux/of_fdt.h>
 #include <linux/of_platform.h>
-#ifdef CONFIG_ACPI
 #include <linux/acpi.h>
-#endif

 #include <asm/fixmap.h>
 #include <asm/cputype.h>
@@ -58,9 +56,7 @@
 #include <asm/memblock.h>
 #include <asm/psci.h>
 #include <asm/cpu.h>
-#ifdef CONFIG_ACPI
 #include <asm/acpi.h>
-#endif

 unsigned int processor_id;
 EXPORT_SYMBOL(processor_id);
--
1.8.3.1


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