]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
include: Add <linux/types.h> in a few places
authorTom Rini <trini@konsulko.com>
Thu, 12 Oct 2023 23:03:54 +0000 (19:03 -0400)
committerTom Rini <trini@konsulko.com>
Tue, 24 Oct 2023 20:34:45 +0000 (16:34 -0400)
These files references a number of types that are defined in
<linux/types.h> (and so forth), so include it here rather than rely on
indirect inclusion.

Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
include/bootstage.h
include/cache.h
include/cpu.h

index f9376c320c967860a74faee1b710d2b9013634dd..affb0e5c6a6a59cf30cceebd868d5daa5f372cb6 100644 (file)
@@ -11,6 +11,7 @@
 #ifndef _BOOTSTAGE_H
 #define _BOOTSTAGE_H
 
+#include <linux/types.h>
 #include <linux/kconfig.h>
 
 /* Flags for each bootstage record */
index b12fec25915688503f358b4229a513f95f42efd3..296ae3c8b48e737411aabfaa4530c6e5f3196fca 100644 (file)
@@ -6,6 +6,8 @@
 #ifndef __CACHE_H
 #define __CACHE_H
 
+#include <linux/types.h>
+
 struct udevice;
 
 /*
index be02a1671298950867c4366ec4bd4a98027c3fd2..2077ff30634baa3f398daafcc61548c221d045e4 100644 (file)
@@ -7,6 +7,8 @@
 #ifndef __CPU_H
 #define __CPU_H
 
+#include <linux/types.h>
+
 struct udevice;
 
 /**