aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Barker <paul.barker.ct@bp.renesas.com>2023-10-16 10:25:39 +0100
committerMarek Vasut <marek.vasut+renesas@mailbox.org>2023-10-17 03:27:42 +0200
commit96bff8939fa9b5127218bd7724099f833f967b22 (patch)
tree3b1401bec672fc02eb7acfb516aae8499c84e4b3
parent93c811b7331b16c1ecb1e7ad00f1864b5d4b359a (diff)
downloadu-boot-96bff8939fa9b5127218bd7724099f833f967b22.zip
u-boot-96bff8939fa9b5127218bd7724099f833f967b22.tar.gz
u-boot-96bff8939fa9b5127218bd7724099f833f967b22.tar.bz2
arm: rmobile: Include <asm/types.h> in header
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@bp.renesas.com> Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
-rw-r--r--arch/arm/mach-rmobile/include/mach/rmobile.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-rmobile/include/mach/rmobile.h b/arch/arm/mach-rmobile/include/mach/rmobile.h
index d326d55..053ad08 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);