Change return type from uint32_t to unsigned long which is suitable for aarch64 aswell. Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- arch/arm/include/asm/barebox-arm.h | 2 +- arch/arm/mach-mvebu/include/mach/common.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/include/asm/barebox-arm.h b/arch/arm/include/asm/barebox-arm.h index 170839aaad..1dccb8965e 100644 --- a/arch/arm/include/asm/barebox-arm.h +++ b/arch/arm/include/asm/barebox-arm.h @@ -42,7 +42,7 @@ int dram_init (void); extern char __exceptions_start[], __exceptions_stop[]; void board_init_lowlevel(void); -uint32_t get_runtime_offset(void); +unsigned long get_runtime_offset(void); void setup_c(void); void relocate_to_current_adr(void); diff --git a/arch/arm/mach-mvebu/include/mach/common.h b/arch/arm/mach-mvebu/include/mach/common.h index aa4babcfa7..8e15723fbe 100644 --- a/arch/arm/mach-mvebu/include/mach/common.h +++ b/arch/arm/mach-mvebu/include/mach/common.h @@ -25,7 +25,7 @@ #define MVEBU_REMAP_INT_REG_BASE 0xf1000000 /* #including <asm/barebox-arm.h> yields a circle, so we need a forward decl */ -uint32_t get_runtime_offset(void); +unsigned long get_runtime_offset(void); static inline void __iomem *mvebu_get_initial_int_reg_base(void) { -- 2.16.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox