diff mbox

[U-Boot,1/2] arm: Correct signature for get_ticks()

Message ID 20170405235318.18217-1-sjg@chromium.org
State Accepted
Commit f97cae95759efd4dbb19acdde201a1f13815832a
Delegated to: Tom Rini
Headers show

Commit Message

Simon Glass April 5, 2017, 11:53 p.m. UTC
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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tom Rini May 12, 2017, 5:18 p.m. UTC | #1
On Wed, Apr 05, 2017 at 05:53:17PM -0600, Simon Glass wrote:

> This should be uint64_t to match its definition in common.h. Fix it.
> 
> Signed-off-by: Simon Glass <sjg@chromium.org>

Applied to u-boot/master, thanks!
diff mbox

Patch

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();