tests: lib: acpi: General header cleanup

Cleanup headers and definitions to make code more readable.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
Andrei Emeltchenko 2023-12-19 14:46:19 +02:00 committed by Maureen Helm
parent d89a274e7a
commit a7afc87527
3 changed files with 4 additions and 9 deletions

View File

@ -10,9 +10,6 @@
#include "mock.h"
#define CONFIG_ACPI_DEV_MAX 1
#define _AcpiModuleName ""
#include <zephyr/acpi/acpi.h>
#include <lib/acpi/acpi.c>
#include "assert.h"

View File

@ -4,15 +4,11 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <stdio.h>
#include "mock.h"
#include <zephyr/acpi/acpi.h>
#include <acpi.h>
#include <accommon.h>
#include <acapps.h>
#include <aclocal.h>
#include <acstruct.h>
#include <zephyr/fff.h>
@ -26,7 +22,6 @@ FAKE_VOID_FUNC_VARARG(AcpiException, const char *, UINT32, ACPI_STATUS,
FAKE_VALUE_FUNC(ACPI_STATUS, AcpiInitializeSubsystem);
FAKE_VALUE_FUNC(ACPI_STATUS, AcpiInitializeTables, ACPI_TABLE_DESC *, UINT32,
BOOLEAN);
FAKE_VALUE_FUNC(ACPI_STATUS, AcpiEnableSubsystem, UINT32);

View File

@ -20,3 +20,6 @@
#define CONFIG_ACPI_MMIO_ENTRIES_MAX 32
typedef uint32_t pcie_bdf_t;
#define CONFIG_ACPI_DEV_MAX 1
#define _AcpiModuleName ""