summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2013-11-23 07:27:27 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-11-26 00:27:10 +0100
commit91be0998578a1001db1382012676ee0a69d5cee3 (patch)
treef867f01dd1148c2f3d81f1b60f4250280a6b08b1 /drivers/acpi
parenta3ccfcc1e7b52047c840249e30008678ac1046c3 (diff)
downloadop-kernel-dev-91be0998578a1001db1382012676ee0a69d5cee3.zip
op-kernel-dev-91be0998578a1001db1382012676ee0a69d5cee3.tar.gz
ACPI: Clean up incorrect inclusions of ACPICA headers
Header file <acpi/acpi.h> contains environemnt settings and architecture specific implementation that should be included before any other ACPICA headers in order to keep a consistent build environment for ACPICA users. The following internal ACPICA header files should be included from <acpi/acpi.h> and should not be included by other kernel files: <acpi/acpiosxf.h> <acpi/acpixf.h> Clean up incorrect inclusions of these files from non-ACPICA source files. [rjw: Subject and changelog] Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/nvs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/acpi/nvs.c b/drivers/acpi/nvs.c
index 266bc58..386a9fe 100644
--- a/drivers/acpi/nvs.c
+++ b/drivers/acpi/nvs.c
@@ -13,7 +13,6 @@
#include <linux/slab.h>
#include <linux/acpi.h>
#include <linux/acpi_io.h>
-#include <acpi/acpiosxf.h>
/* ACPI NVS regions, APEI may use it */
OpenPOWER on IntegriCloud