summaryrefslogtreecommitdiff
path: root/chip/npcx/hwtimer_chip.h
diff options
context:
space:
mode:
Diffstat (limited to 'chip/npcx/hwtimer_chip.h')
-rw-r--r--chip/npcx/hwtimer_chip.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chip/npcx/hwtimer_chip.h b/chip/npcx/hwtimer_chip.h
index ac657a2a4b..52b17c7dee 100644
--- a/chip/npcx/hwtimer_chip.h
+++ b/chip/npcx/hwtimer_chip.h
@@ -22,9 +22,9 @@ enum ITIM_SOURCE_CLOCK_T {
void init_hw_timer(int itim_no, enum ITIM_SOURCE_CLOCK_T source);
/* Returns the counter value of event timer */
-uint32_t __hw_clock_event_count(void);
+uint16_t __hw_clock_event_count(void);
/* Returns time delay because of deep idle */
-uint32_t __hw_clock_get_sleep_time(uint32_t pre_evt_cnt);
+uint32_t __hw_clock_get_sleep_time(uint16_t pre_evt_cnt);
#endif /* __CROS_EC_HWTIMER_CHIP_H */