summaryrefslogtreecommitdiff
path: root/board/spring/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/spring/board.c')
-rw-r--r--board/spring/board.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/spring/board.c b/board/spring/board.c
index cd98e21d7e..963ed5492b 100644
--- a/board/spring/board.c
+++ b/board/spring/board.c
@@ -9,7 +9,7 @@
#include "common.h"
#include "console.h"
#include "dma.h"
-#include "ec_commands.h"
+#include "extpower.h"
#include "gpio.h"
#include "hooks.h"
#include "host_command.h"
@@ -297,7 +297,7 @@ int board_pmu_init(void)
}
#endif /* CONFIG_BOARD_PMU_INIT */
-int board_get_ac(void)
+int extpower_is_present(void)
{
static int last_vbus;
int vbus, vbus_good;