arm: Correct signature for get_ticks()
authorSimon Glass <sjg@chromium.org>
Wed, 5 Apr 2017 23:53:17 +0000 (17:53 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 12 May 2017 02:03:38 +0000 (22:03 -0400)
This should be uint64_t to match its definition in common.h. Fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/arm/cpu/armv8/generic_timer.c

index cd92b2c..a2dda33 100644 (file)
@@ -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();