[U-Boot] [PATCH 1/2] arm: Correct signature for get_ticks()
Simon Glass
sjg at chromium.org
Wed Apr 5 23:53:17 UTC 2017
This should be uint64_t to match its definition in common.h. Fix it.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
arch/arm/cpu/armv8/generic_timer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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();
--
2.12.2.715.g7642488e1d-goog
More information about the U-Boot
mailing list