From fb56b39cdde6645c947d34256bb4d7525acf2e7f Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Thu, 22 Jun 2017 12:14:01 -0500 Subject: [PATCH] timer: xtensa_sys: Cleanup use of C99 types We introduced some see C99 types, so convert them over to the Zephyr types. Signed-off-by: Kumar Gala --- drivers/timer/xtensa_sys_timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/timer/xtensa_sys_timer.c b/drivers/timer/xtensa_sys_timer.c index aeaed81ba0e..e35a23a4465 100644 --- a/drivers/timer/xtensa_sys_timer.c +++ b/drivers/timer/xtensa_sys_timer.c @@ -41,7 +41,7 @@ #define GET_TIMER_CURRENT_TIME(void) XT_RSR_CCOUNT() #define XTENSA_RSR(sr) \ - ({uint32_t v; \ + ({u32_t v; \ __asm__ volatile ("rsr." #sr " %0" : "=a"(v)); \ v; }) #define XTENSA_WSR(sr, v) \