summaryrefslogtreecommitdiff
path: root/src/device/i2c_bus.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/device/i2c_bus.c')
-rw-r--r--src/device/i2c_bus.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/device/i2c_bus.c b/src/device/i2c_bus.c
index f0d7dd116e..361bb67df8 100644
--- a/src/device/i2c_bus.c
+++ b/src/device/i2c_bus.c
@@ -1,10 +1,12 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <stdint.h>
+#include <commonlib/bsd/helpers.h>
#include <console/console.h>
+#include <device/device.h>
#include <device/smbus.h>
#include <device/i2c_bus.h>
#include <commonlib/endian.h>
+#include <types.h>
bool i2c_dev_detect(struct device *dev, unsigned int addr)
{