From 1543e317f1da31b75942316931e8f491a8920811 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Thu, 04 Jan 2024 10:08:02 +0000
Subject: [PATCH] disable FB
---
kernel/drivers/power/supply/rk818_charger.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/drivers/power/supply/rk818_charger.c b/kernel/drivers/power/supply/rk818_charger.c
index 3b618dc..56961ef 100644
--- a/kernel/drivers/power/supply/rk818_charger.c
+++ b/kernel/drivers/power/supply/rk818_charger.c
@@ -266,9 +266,9 @@
static u64 get_boot_sec(void)
{
- struct timespec ts;
+ struct timespec64 ts;
- get_monotonic_boottime(&ts);
+ ktime_get_boottime_ts64(&ts);
return ts.tv_sec;
}
--
Gitblit v1.6.2