Skip to content

Commit

Permalink
ACPI / tables: Fix DSDT override mechanism
Browse files Browse the repository at this point in the history
Commit 5ae74f2 (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: 5ae74f2 (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>
  • Loading branch information
Rafael J. Wysocki committed May 6, 2016
1 parent 5d88132 commit 7421669
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/acpi/osl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down
4 changes: 4 additions & 0 deletions drivers/acpi/tables.c
Original file line number Diff line number Diff line change
Expand Up @@ -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" };
Expand Down

0 comments on commit 7421669

Please sign in to comment.