summaryrefslogtreecommitdiff
path: root/src/mainboard/google/enguarde
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/enguarde')
-rw-r--r--src/mainboard/google/enguarde/ec.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mainboard/google/enguarde/ec.h b/src/mainboard/google/enguarde/ec.h
index 19f60909c7..4a4599c82f 100644
--- a/src/mainboard/google/enguarde/ec.h
+++ b/src/mainboard/google/enguarde/ec.h
@@ -16,6 +16,7 @@
#ifndef MAINBOARD_EC_H
#define MAINBOARD_EC_H
+#include <ec/ec.h>
#include <ec/google/chromeec/ec_commands.h>
/* GPIO_S0_000 is EC_SCI#, but it is bit 24 in GPE_STS */
@@ -55,8 +56,4 @@
(EC_HOST_EVENT_MASK(EC_HOST_EVENT_THERMAL_SHUTDOWN) |\
EC_HOST_EVENT_MASK(EC_HOST_EVENT_BATTERY_SHUTDOWN))
-#ifndef __ACPI__
-extern void mainboard_ec_init(void);
-#endif
-
#endif