summaryrefslogtreecommitdiff
path: root/drivers/acpi/tables.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-05-06 01:27:09 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-05-06 13:20:11 +0200
commit74216699ddcca13541e8494cb2b995e6a44a04d9 (patch)
tree1df8315f3956f3c51d3417c144907949115f50ff /drivers/acpi/tables.c
parent5d8813271f8a7c86027afb2ef554f2a5a9ba7c15 (diff)
downloadlwn-74216699ddcca13541e8494cb2b995e6a44a04d9.tar.gz
lwn-74216699ddcca13541e8494cb2b995e6a44a04d9.zip
ACPI / tables: Fix DSDT override mechanism
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>
Diffstat (limited to 'drivers/acpi/tables.c')
-rw-r--r--drivers/acpi/tables.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/acpi/tables.c b/drivers/acpi/tables.c
index 08795fbde3fa..a372f9eaa15d 100644
--- a/drivers/acpi/tables.c
+++ b/drivers/acpi/tables.c
@@ -36,6 +36,10 @@
#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" };