summaryrefslogtreecommitdiff
path: root/driver/charger
diff options
context:
space:
mode:
authorYuval Peress <peress@google.com>2022-07-28 11:23:22 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-08-05 18:34:32 +0000
commita639c13eca2e4c1982e8b7d699a8b387e6bb030d (patch)
treee5a4613f07bb55ed03971e3aba481f9d3a896219 /driver/charger
parent79867844f7e223dee1183b3a02426b75288dfb88 (diff)
downloadchrome-ec-a639c13eca2e4c1982e8b7d699a8b387e6bb030d.tar.gz
util: remove unused includes
Remove these includes as they're not needed in this header. Instead, the includes should go where they're actually being used. BRANCH=none BUG=b:240574048 TEST=make buildall -j TEST=zmake build -a Signed-off-by: Yuval Peress <peress@google.com> Change-Id: I64b10af3216654b2a20caa1cabd267661a0bca39 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3791980 Reviewed-by: Tristan Honscheid <honscheid@google.com> Commit-Queue: Tristan Honscheid <honscheid@google.com>
Diffstat (limited to 'driver/charger')
-rw-r--r--driver/charger/bd9995x.c1
-rw-r--r--driver/charger/isl923x.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/driver/charger/bd9995x.c b/driver/charger/bd9995x.c
index 80479523b4..896da5a523 100644
--- a/driver/charger/bd9995x.c
+++ b/driver/charger/bd9995x.c
@@ -15,6 +15,7 @@
#include "ec_commands.h"
#include "hooks.h"
#include "i2c.h"
+#include "panic.h"
#include "task.h"
#include "time.h"
#include "util.h"
diff --git a/driver/charger/isl923x.c b/driver/charger/isl923x.c
index 1fc218dbc8..e3a67ab2b6 100644
--- a/driver/charger/isl923x.c
+++ b/driver/charger/isl923x.c
@@ -8,6 +8,7 @@
#include "adc.h"
#include "battery.h"
#include "battery_smart.h"
+#include "builtin/assert.h"
#include "charge_state_v2.h"
#include "charger.h"
#include "compile_time_macros.h"