summaryrefslogtreecommitdiff
path: root/drivers/acpi
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2013-12-06 12:51:46 +0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-12-07 04:24:33 +0400
commitfe5e49cb5ac57f984a44287cf123fbbc712d7bec (patch)
treef163c490688899cab9d5cfaa6614f5a30f100b4a /drivers/acpi
parent8b48463f89429af408ff695244dc627e1acff4f7 (diff)
downloadlinux-fe5e49cb5ac57f984a44287cf123fbbc712d7bec.tar.xz
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>
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 266bc58ce0ce..386a9fe497b4 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 */