[PATCH 12/16] arm: rmobile: Include <asm/types.h> in header
Paul Barker
paul.barker.ct at bp.renesas.com
Wed Sep 20 14:42:08 CEST 2023
We don't want to rely on source files including <asm/types.h> before
<asm/arch/rmobile.h>.
Signed-off-by: Paul Barker <paul.barker.ct at bp.renesas.com>
Reviewed-by: Biju Das <biju.das.jz at bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj at bp.renesas.com>
---
arch/arm/mach-rmobile/include/mach/rmobile.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/mach-rmobile/include/mach/rmobile.h b/arch/arm/mach-rmobile/include/mach/rmobile.h
index d326d5545a6f..053ad08add00 100644
--- a/arch/arm/mach-rmobile/include/mach/rmobile.h
+++ b/arch/arm/mach-rmobile/include/mach/rmobile.h
@@ -45,6 +45,8 @@
#define RMOBILE_CPU_TYPE_R8A779G0 0x5C
#ifndef __ASSEMBLY__
+#include <asm/types.h>
+
const u8 *rzg_get_cpu_name(void);
u32 rmobile_get_cpu_type(void);
u32 rmobile_get_cpu_rev_integer(void);
--
2.34.1
More information about the U-Boot
mailing list