Commit 031de3c8 authored by Andy Grover's avatar Andy Grover

ACPI: misc cleanups

parent eb174ad0
......@@ -104,11 +104,13 @@ acpi_ns_root_initialize (void)
status = acpi_os_predefined_override(init_val, &val);
if (ACPI_FAILURE (status)) {
ACPI_DEBUG_PRINT ((ACPI_DB_ERROR,
"Could not override predefined %s\n", init_val->name));
ACPI_DEBUG_PRINT ((ACPI_DB_ERROR, "Could not override predefined %s\n",
init_val->name));
}
if (val == NULL)
if (!val) {
val = init_val->val;
}
/*
* Entry requests an initial value, allocate a
......
......@@ -30,21 +30,21 @@
* We put them here because we don't want to duplicate them
* in the rest of the source code again and again.
*/
#include <acpi/acconfig.h> /* Configuration constants */
#include <acpi/platform/acenv.h> /* Target environment specific items */
#include <acpi/actypes.h> /* Fundamental common data types */
#include <acpi/acexcep.h> /* ACPI exception codes */
#include <acpi/acmacros.h> /* C macros */
#include <acpi/actbl.h> /* ACPI table definitions */
#include <acpi/aclocal.h> /* Internal data types */
#include <acpi/acoutput.h> /* Error output and Debug macros */
#include <acpi/acpiosxf.h> /* Interfaces to the ACPI-to-OS layer*/
#include <acpi/acpixf.h> /* ACPI core subsystem external interfaces */
#include <acpi/acobject.h> /* ACPI internal object */
#include <acpi/acstruct.h> /* Common structures */
#include <acpi/acglobal.h> /* All global variables */
#include <acpi/achware.h> /* Hardware defines and interfaces */
#include <acpi/acutils.h> /* Utility interfaces */
#include "acconfig.h" /* Configuration constants */
#include "platform/acenv.h" /* Target environment specific items */
#include "actypes.h" /* Fundamental common data types */
#include "acexcep.h" /* ACPI exception codes */
#include "acmacros.h" /* C macros */
#include "actbl.h" /* ACPI table definitions */
#include "aclocal.h" /* Internal data types */
#include "acoutput.h" /* Error output and Debug macros */
#include "acpiosxf.h" /* Interfaces to the ACPI-to-OS layer*/
#include "acpixf.h" /* ACPI core subsystem external interfaces */
#include "acobject.h" /* ACPI internal object */
#include "acstruct.h" /* Common structures */
#include "acglobal.h" /* All global variables */
#include "achware.h" /* Hardware defines and interfaces */
#include "acutils.h" /* Utility interfaces */
#endif /* __ACPI_H__ */
......@@ -27,8 +27,8 @@
#ifndef __ACXFACE_H__
#define __ACXFACE_H__
#include <acpi/actypes.h>
#include <acpi/actbl.h>
#include "actypes.h"
#include "actbl.h"
/*
......
......@@ -98,7 +98,7 @@
/*! [Begin] no source code translation */
#if defined(__linux__)
#include <acpi/platform/aclinux.h>
#include "aclinux.h"
#elif defined(_AED_EFI)
#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