Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Lv Zheng and committed by
Rafael J. Wysocki
fe5e49cb 8b48463f

-1
-1
drivers/acpi/nvs.c
··· 13 13 #include <linux/slab.h> 14 14 #include <linux/acpi.h> 15 15 #include <linux/acpi_io.h> 16 - #include <acpi/acpiosxf.h> 17 16 18 17 /* ACPI NVS regions, APEI may use it */ 19 18