ACPI / tables: Fix DSDT override mechanism
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 5 May 2016 23:27:09 +0000 (01:27 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 6 May 2016 11:20:11 +0000 (13:20 +0200)
Commit 5ae74f2cc2f1 (ACPI / tables: Move table override mechanisms to
tables.c) forgot to move the CONFIG_ACPI_CUSTOM_DSDT_FILE inclusion
directive from osl.c to tables.c.  Fix that.

Fixes: 5ae74f2cc2f1 (ACPI / tables: Move table override mechanisms to tables.c)
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Lv Zheng <lv.zheng@intel.com>
drivers/acpi/osl.c
drivers/acpi/tables.c

index 0796ad96dc3217e4e80da50c7b83b4dcca0cfc26..0155f8b8a79aebd875160ea8a3eb870e14f88acb 100644 (file)
@@ -56,10 +56,6 @@ struct acpi_os_dpc {
        struct work_struct work;
 };
 
-#ifdef CONFIG_ACPI_CUSTOM_DSDT
-#include CONFIG_ACPI_CUSTOM_DSDT_FILE
-#endif
-
 #ifdef ENABLE_DEBUGGER
 #include <linux/kdb.h>
 
index 08795fbde3fa78d86515a90c1a21db565d2b09f7..a372f9eaa15deb8999abc60a4f0de2d7a9579cdd 100644 (file)
 #include <linux/memblock.h>
 #include "internal.h"
 
+#ifdef CONFIG_ACPI_CUSTOM_DSDT
+#include CONFIG_ACPI_CUSTOM_DSDT_FILE
+#endif
+
 #define ACPI_MAX_TABLES                128
 
 static char *mps_inti_flags_polarity[] = { "dfl", "high", "res", "low" };