summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2023-10-12 19:03:54 -0400
committerTom Rini <[email protected]>2023-10-24 16:34:45 -0400
commit12c00f9e8b3e7987cfc5243f5b3edbe6c9fdfdc2 (patch)
tree70b653712ede83bc7f4020c5c1fb0433127837c7 /include
parent2f34b0331a60239b7708f125ad621e4e62f51803 (diff)
include: Add <linux/types.h> in a few places
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 <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/bootstage.h1
-rw-r--r--include/cache.h2
-rw-r--r--include/cpu.h2
3 files changed, 5 insertions, 0 deletions
diff --git a/include/bootstage.h b/include/bootstage.h
index f9376c320c9..affb0e5c6a6 100644
--- a/include/bootstage.h
+++ b/include/bootstage.h
@@ -11,6 +11,7 @@
#ifndef _BOOTSTAGE_H
#define _BOOTSTAGE_H
+#include <linux/types.h>
#include <linux/kconfig.h>
/* Flags for each bootstage record */
diff --git a/include/cache.h b/include/cache.h
index b12fec25915..296ae3c8b48 100644
--- a/include/cache.h
+++ b/include/cache.h
@@ -6,6 +6,8 @@
#ifndef __CACHE_H
#define __CACHE_H
+#include <linux/types.h>
+
struct udevice;
/*
diff --git a/include/cpu.h b/include/cpu.h
index be02a167129..2077ff30634 100644
--- a/include/cpu.h
+++ b/include/cpu.h
@@ -7,6 +7,8 @@
#ifndef __CPU_H
#define __CPU_H
+#include <linux/types.h>
+
struct udevice;
/**