summaryrefslogtreecommitdiff
path: root/src/mainboard/google/link/ec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/link/ec.c')
-rw-r--r--src/mainboard/google/link/ec.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/mainboard/google/link/ec.c b/src/mainboard/google/link/ec.c
index 2c2ed74923..57de912876 100644
--- a/src/mainboard/google/link/ec.c
+++ b/src/mainboard/google/link/ec.c
@@ -2,16 +2,17 @@
#include <acpi/acpi.h>
#include <console/console.h>
+#include <ec/ec.h>
#include <ec/google/chromeec/ec.h>
#include "ec.h"
-void link_ec_init(void)
+void mainboard_ec_init(void)
{
const struct google_chromeec_event_info info = {
- .log_events = LINK_EC_LOG_EVENTS,
- .sci_events = LINK_EC_SCI_EVENTS,
- .s3_wake_events = LINK_EC_S3_WAKE_EVENTS,
- .s5_wake_events = LINK_EC_S5_WAKE_EVENTS,
+ .log_events = MAINBOARD_EC_LOG_EVENTS,
+ .sci_events = MAINBOARD_EC_SCI_EVENTS,
+ .s3_wake_events = MAINBOARD_EC_S3_WAKE_EVENTS,
+ .s5_wake_events = MAINBOARD_EC_S5_WAKE_EVENTS,
};
printk(BIOS_DEBUG, "%s\n", __func__);