]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 cd92b2c7617dcc1f4fb7531a08b9eb19d63ca008..a2dda333fe5f63979f5b4d4fbf4d40b18ff9934d 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();