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 f9376c3..affb0e5 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 b12fec2..296ae3c 100644 (file)
@@ -6,6 +6,8 @@
 #ifndef __CACHE_H
 #define __CACHE_H
 
+#include <linux/types.h>
+
 struct udevice;
 
 /*
index be02a16..2077ff3 100644 (file)
@@ -7,6 +7,8 @@
 #ifndef __CPU_H
 #define __CPU_H
 
+#include <linux/types.h>
+
 struct udevice;
 
 /**