From 558e699d156ebe7f0b51e05a2e38f35fbaa78b0f Mon Sep 17 00:00:00 2001 From: Patrick Delaunay Date: Mon, 19 Jul 2021 11:21:50 +0200 Subject: arm: use the correct prototype for reset_cpu function Align reset_cpu function with the next prototypes in sysreset.h or in cpu_func.h to solve compilation issue: void reset_cpu(void); This patch solves the prototype conflict when cpu_func.h is included. Signed-off-by: Patrick Delaunay --- board/hoperun/hihope-rzg2/hihope-rzg2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'board/hoperun/hihope-rzg2') diff --git a/board/hoperun/hihope-rzg2/hihope-rzg2.c b/board/hoperun/hihope-rzg2/hihope-rzg2.c index c1bfdcb..c1db387 100644 --- a/board/hoperun/hihope-rzg2/hihope-rzg2.c +++ b/board/hoperun/hihope-rzg2/hihope-rzg2.c @@ -65,7 +65,7 @@ int board_init(void) return 0; } -void reset_cpu(ulong addr) +void reset_cpu(void) { unsigned long midr, cputype; -- cgit v1.1