summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-04-05 17:53:17 -0600
committerTom Rini <trini@konsulko.com>2017-05-11 22:03:38 -0400
commitf97cae95759efd4dbb19acdde201a1f13815832a (patch)
treebdca947eed69420960f7235334e7083aad96148d /arch/arm
parent88b6329cce9b344159ac7d708f8f2d6bfd98faf0 (diff)
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 <sjg@chromium.org>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/cpu/armv8/generic_timer.c2
1 files changed, 1 insertions, 1 deletions
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();