summaryrefslogtreecommitdiff
path: root/board/coral/battery.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/coral/battery.c')
-rw-r--r--board/coral/battery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/coral/battery.c b/board/coral/battery.c
index 92fc6f56fe..a9009439af 100644
--- a/board/coral/battery.c
+++ b/board/coral/battery.c
@@ -226,7 +226,7 @@ int charger_profile_override(struct charge_state_data *curr)
return 0;
}
-static inline enum battery_present battery_hw_present(void)
+enum battery_present battery_hw_present(void)
{
/* The GPIO is low when the battery is physically present */
return gpio_get_level(GPIO_EC_BATT_PRES_L) ? BP_NO : BP_YES;