src/include: Add missing includes
Change-Id: I746ea7805bae553a146130994d8174aa2e189610 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43368 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
committed by
Patrick Georgi
parent
722e610fbc
commit
5817c56d19
@@ -4,8 +4,8 @@
|
||||
#define __ACPI_ACPI_DEVICE_H__
|
||||
|
||||
#include <device/i2c.h>
|
||||
#include <stdint.h>
|
||||
#include <spi-generic.h>
|
||||
#include <types.h>
|
||||
|
||||
enum acpi_dp_type {
|
||||
ACPI_DP_TYPE_UNKNOWN,
|
||||
|
@@ -11,6 +11,8 @@
|
||||
#ifndef __ACPI_ACPI_IVRS_H__
|
||||
#define __ACPI_ACPI_IVRS_H__
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
/* I/O Virtualization Reporting Structure (IVRS) */
|
||||
#define IVHD_BLOCK_TYPE_LEGACY__FIXED 0x10
|
||||
#define IVHD_BLOCK_TYPE_FULL__FIXED 0x11
|
||||
|
@@ -3,6 +3,7 @@
|
||||
#ifndef __ACPI_ACPIGEN_H__
|
||||
#define __ACPI_ACPIGEN_H__
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <acpi/acpi.h>
|
||||
#include <acpi/acpi_device.h>
|
||||
|
@@ -5,6 +5,7 @@
|
||||
|
||||
#include <device/device.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
/* A common idiom is to use a default value if none is provided (i.e., == 0) */
|
||||
#define DEFAULT_IF_0(thing, default_) ((thing) ? (thing) : (default_))
|
||||
|
Reference in New Issue
Block a user