summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2013-12-06 16:51:46 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-12-07 01:24:33 +0100
commitfe5e49cb5ac57f984a44287cf123fbbc712d7bec (patch)
treef163c490688899cab9d5cfaa6614f5a30f100b4a
parent8b48463f89429af408ff695244dc627e1acff4f7 (diff)
downloadop-kernel-dev-fe5e49cb5ac57f984a44287cf123fbbc712d7bec.zip
op-kernel-dev-fe5e49cb5ac57f984a44287cf123fbbc712d7bec.tar.gz
ACPI: Clean up incorrect inclusion of an ACPICA header
Since drivers/acpi/nvs.c includes <linux/acpi.h> and is only compiled for CONFIG_ACPI set, it doesn't need to include <acpi/acpiosxf.h> directly, which is formally incorrect. Remove the <acpi/acpiosxf.h> inclusion from that file. Signed-off-by: Lv Zheng <lv.zheng@intel.com> [rjw: Subject and changelog] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-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