summaryrefslogtreecommitdiff
path: root/src/ec/acpi
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/acpi')
-rw-r--r--src/ec/acpi/ec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ec/acpi/ec.c b/src/ec/acpi/ec.c
index ad297fb932..d3a6aaf679 100644
--- a/src/ec/acpi/ec.c
+++ b/src/ec/acpi/ec.c
@@ -138,6 +138,8 @@ void ec_set_ports(u16 cmd_reg, u16 data_reg)
ec_data_reg = data_reg;
}
+#if !defined(__SMM__) && !defined(__PRE_RAM__)
struct chip_operations ec_acpi_ops = {
CHIP_NAME("ACPI Embedded Controller")
};
+#endif