]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
sandbox: Add <linux/types.h> to asm/global_data.h and asm/io.h
authorTom Rini <trini@konsulko.com>
Thu, 14 Dec 2023 18:16:50 +0000 (13:16 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 21 Dec 2023 13:54:37 +0000 (08:54 -0500)
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>
arch/sandbox/include/asm/global_data.h

index c6977735029d5d159642929a369545643b4636e5..001b2b53c1c8a80b23eff9fe25dcb7e23d96fa10 100644 (file)
@@ -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 */