From: Simon Glass Date: Wed, 5 Apr 2017 23:53:17 +0000 (-0600) Subject: arm: Correct signature for get_ticks() X-Git-Tag: v2017.07-rc1~352 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f97cae95759efd4dbb19acdde201a1f13815832a;p=u-boot arm: Correct signature for get_ticks() This should be uint64_t to match its definition in common.h. Fix it. Signed-off-by: Simon Glass --- diff --git a/arch/arm/cpu/armv8/generic_timer.c b/arch/arm/cpu/armv8/generic_timer.c index cd92b2c761..a2dda333fe 100644 --- a/arch/arm/cpu/armv8/generic_timer.c +++ b/arch/arm/cpu/armv8/generic_timer.c @@ -43,7 +43,7 @@ unsigned long timer_read_counter(void) return cntpct; } -unsigned long long get_ticks(void) +uint64_t get_ticks(void) { unsigned long ticks = timer_read_counter();