mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
ACPI: Clean up incorrect inclusions of ACPICA headers
Header file <acpi/acpi.h> contains environemnt settings and architecture specific implementation that should be included before any other ACPICA headers in order to keep a consistent build environment for ACPICA users. The following internal ACPICA header files should be included from <acpi/acpi.h> and should not be included by other kernel files: <acpi/acpiosxf.h> <acpi/acpixf.h> Clean up incorrect inclusions of these files from non-ACPICA source files. [rjw: Subject and changelog] Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
a3ccfcc1e7
commit
91be099857
2 changed files with 0 additions and 2 deletions
|
@ -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 */
|
||||
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
#include <linux/err.h>
|
||||
|
||||
#include <acpi/acpi.h>
|
||||
#include <acpi/acpixf.h>
|
||||
#include <acpi/acpi_drivers.h>
|
||||
#include <acpi/acpi_bus.h>
|
||||
|
||||
|
|
Loading…
Reference in a new issue