aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-12-14 13:16:50 -0500
committerTom Rini <trini@konsulko.com>2023-12-21 08:54:37 -0500
commit9d7f634811d444cd55553cba5d6704e716cd7efa (patch)
treee8078e464e10925360e3938955a0f12228f68cbc
parent78e326d631e081295da73fc3532af2ac8a1c2ca1 (diff)
downloadu-boot-9d7f634811d444cd55553cba5d6704e716cd7efa.zip
u-boot-9d7f634811d444cd55553cba5d6704e716cd7efa.tar.gz
u-boot-9d7f634811d444cd55553cba5d6704e716cd7efa.tar.bz2
sandbox: Add <linux/types.h> to asm/global_data.h and asm/io.h
We need <linux/types.h> in these files as we reference Linux types. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r--arch/sandbox/include/asm/global_data.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sandbox/include/asm/global_data.h b/arch/sandbox/include/asm/global_data.h
index c697773..001b2b5 100644
--- a/arch/sandbox/include/asm/global_data.h
+++ b/arch/sandbox/include/asm/global_data.h
@@ -9,6 +9,8 @@
#ifndef __ASM_GBL_DATA_H
#define __ASM_GBL_DATA_H
+#include <linux/types.h>
+
/* Architecture-specific global data */
struct arch_global_data {
uint8_t *ram_buf; /* emulated RAM buffer */