Skip to content

Commit fe5e49c

Browse files
Lv Zhengrafaeljw
authored andcommitted
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>
1 parent 8b48463 commit fe5e49c

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎drivers/acpi/nvs.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
#include <linux/slab.h>
1414
#include <linux/acpi.h>
1515
#include <linux/acpi_io.h>
16-
#include <acpi/acpiosxf.h>
1716

1817
/* ACPI NVS regions, APEI may use it */
1918

0 commit comments

Comments
 (0)