aboutsummaryrefslogtreecommitdiff
path: root/arch/nios2
diff options
context:
space:
mode:
authorTom Rini2023-12-14 13:16:52 -0500
committerTom Rini2023-12-21 08:54:37 -0500
commit071cf2767f832ec89eff40a476903d4ac5240dcf (patch)
treeeebced19784de0d4856efbc8a67820a6dc9ba1d3 /arch/nios2
parentf90dee1a397520460b7a9693c2cce302e959c9fd (diff)
global: Rework architecture global_data.h to include <linux/types.h>
In most cases, the architecture global data currently makes use of assorted linux types, but does not include <linux/types.h> to provide them. Add <linux/types.h> instead of relying on indirect inclusion. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/nios2')
-rw-r--r--arch/nios2/include/asm/global_data.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/nios2/include/asm/global_data.h b/arch/nios2/include/asm/global_data.h
index 1a0e7d25fa3..b56e8a5078e 100644
--- a/arch/nios2/include/asm/global_data.h
+++ b/arch/nios2/include/asm/global_data.h
@@ -6,6 +6,8 @@
#ifndef __ASM_NIOS2_GLOBALDATA_H_
#define __ASM_NIOS2_GLOBALDATA_H_
+#include <linux/types.h>
+
/* Architecture-specific global data */
struct arch_global_data {
u32 dcache_line_size;