summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/nvs.c
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2013-12-06 09:51:46 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-12-07 01:24:33 +0100
commitfe5e49cb5ac57f984a44287cf123fbbc712d7bec (patch)
treef163c490688899cab9d5cfaa6614f5a30f100b4a /drivers/acpi/nvs.c
parentACPI: Clean up inclusions of ACPI header files (diff)
downloadlinux-fe5e49cb5ac57f984a44287cf123fbbc712d7bec.tar.xz
linux-fe5e49cb5ac57f984a44287cf123fbbc712d7bec.zip
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/nvs.c')
-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 */