[v2 08/16] sandbox: Add <linux/types.h> to asm/global_data.h and asm/io.h

Tom Rini trini at konsulko.com
Thu Dec 14 19:16:50 CET 2023


We need <linux/types.h> in these files as we reference Linux types.

Signed-off-by: Tom Rini <trini at konsulko.com>
Reviewed-by: Simon Glass <sjg at chromium.org>
---
 arch/sandbox/include/asm/global_data.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/sandbox/include/asm/global_data.h b/arch/sandbox/include/asm/global_data.h
index c6977735029d..001b2b53c1c8 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 */
-- 
2.34.1



More information about the U-Boot mailing list