summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
Diffstat (limited to 'src/device')
-rw-r--r--src/device/i2c.c3
-rw-r--r--src/device/software_i2c.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/device/i2c.c b/src/device/i2c.c
index 67470d4921..6fdd5cff26 100644
--- a/src/device/i2c.c
+++ b/src/device/i2c.c
@@ -14,7 +14,8 @@
*/
#include <device/device.h>
-#include <device/i2c.h>
+#include <device/i2c_bus.h>
+#include <device/i2c_simple.h>
#include <stdint.h>
#if ENV_RAMSTAGE
diff --git a/src/device/software_i2c.c b/src/device/software_i2c.c
index 368d145b3e..ec6722bbed 100644
--- a/src/device/software_i2c.c
+++ b/src/device/software_i2c.c
@@ -16,7 +16,7 @@
#include <assert.h>
#include <timer.h>
#include <console/console.h>
-#include <device/i2c.h>
+#include <device/i2c_simple.h>
/*
* The implementation is based on Wikipedia.