Commit 7232dbc1 authored by Patrick Mochel's avatar Patrick Mochel

acpi: remove some acpi-specific compiler definitions in favor of standard ones.

- Check if __linux__ is defined in include/acpi/platform/acenv.h, instead
  of -D_LINUX (defined by drivers/acpi/Makefile).
- Remove -D_LINUX from custom CFLAGS.
- Remove include path of include/acpi, since all headers are looked for in
  include/acpi.
parent d2af36f7
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
export ACPI_CFLAGS export ACPI_CFLAGS
ACPI_CFLAGS := -D_LINUX -Os -Iinclude/acpi ACPI_CFLAGS := -Os
ifdef CONFIG_ACPI_DEBUG ifdef CONFIG_ACPI_DEBUG
ACPI_CFLAGS += -DACPI_DEBUG_OUTPUT ACPI_CFLAGS += -DACPI_DEBUG_OUTPUT
......
...@@ -97,8 +97,8 @@ ...@@ -97,8 +97,8 @@
/*! [Begin] no source code translation */ /*! [Begin] no source code translation */
#if defined(_LINUX) #if defined(__linux__)
#include "aclinux.h" #include <acpi/platform/aclinux.h>
#elif defined(_AED_EFI) #elif defined(_AED_EFI)
#include "acefi.h" #include "acefi.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment