kernel/drivers/power/supply/rk818_charger.c
.. .. @@ -266,9 +266,9 @@ 266 266 267 267 static u64 get_boot_sec(void) 268 268 { 269 - struct timespec ts;269 + struct timespec64 ts;270 270 271 - get_monotonic_boottime(&ts);271 + ktime_get_boottime_ts64(&ts);272 272 273 273 return ts.tv_sec; 274 274 }