summaryrefslogtreecommitdiff
path: root/chip/host/i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/host/i2c.c')
-rw-r--r--chip/host/i2c.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/chip/host/i2c.c b/chip/host/i2c.c
index 28a6f5f158..5b863c1d41 100644
--- a/chip/host/i2c.c
+++ b/chip/host/i2c.c
@@ -109,3 +109,8 @@ int i2c_get_line_levels(int port)
{
return 0;
}
+
+void i2c_init(void)
+{
+ /* We don't actually need to initialize anything here for host tests */
+}