aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/misc/hp_sdc_rtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/misc/hp_sdc_rtc.c')
-rw-r--r--drivers/input/misc/hp_sdc_rtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/misc/hp_sdc_rtc.c b/drivers/input/misc/hp_sdc_rtc.c
index 4d1aa9a2c336..ad730e15afc0 100644
--- a/drivers/input/misc/hp_sdc_rtc.c
+++ b/drivers/input/misc/hp_sdc_rtc.c
@@ -208,7 +208,7 @@ static inline int hp_sdc_rtc_read_rt(struct timeval *res) {
208 208
209/* Read the i8042 fast handshake timer */ 209/* Read the i8042 fast handshake timer */
210static inline int hp_sdc_rtc_read_fhs(struct timeval *res) { 210static inline int hp_sdc_rtc_read_fhs(struct timeval *res) {
211 uint64_t raw; 211 int64_t raw;
212 unsigned int tenms; 212 unsigned int tenms;
213 213
214 raw = hp_sdc_rtc_read_i8042timer(HP_SDC_CMD_LOAD_FHS, 2); 214 raw = hp_sdc_rtc_read_i8042timer(HP_SDC_CMD_LOAD_FHS, 2);