summaryrefslogtreecommitdiff
path: root/src/soc/rockchip/common/i2c.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-07-27 08:16:24 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-07-29 09:37:22 +0000
commitc379d46c1c49a2f9f28bdcbb42b94976dbb24a72 (patch)
tree2b19bc7916f3d52f99ca400313b24d17f58da1c4 /src/soc/rockchip/common/i2c.c
parent441e19153036fa3e0e3b2de3991dacdc01beda4c (diff)
src/soc/rockchip: Add missing <{stddef,stdint}.h>
Change-Id: I0b7bdd9f46846bc9c3d9672b50dfe2fb166fcb78 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43945 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/soc/rockchip/common/i2c.c')
-rw-r--r--src/soc/rockchip/common/i2c.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/rockchip/common/i2c.c b/src/soc/rockchip/common/i2c.c
index 393b45753d..dbbfd3e041 100644
--- a/src/soc/rockchip/common/i2c.c
+++ b/src/soc/rockchip/common/i2c.c
@@ -10,6 +10,8 @@
#include <soc/soc.h>
#include <soc/i2c.h>
#include <soc/clock.h>
+#include <stddef.h>
+#include <stdint.h>
#define RETRY_COUNT 3
/* 100000us = 100ms */