From a70415624f147c5f476eabc496503fd9a6dd28d4 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Mon, 31 Jan 2022 14:21:57 +0100 Subject: [PATCH] drivers/i2c/designware/dw_i2c: add missing types.h include This will provide the definitions for size_t, uint32_t and uintptr_t. Signed-off-by: Felix Held Change-Id: Icda8d458565bf981545d720d612cbdace04bedd4 Reviewed-on: https://review.coreboot.org/c/coreboot/+/61508 Tested-by: build bot (Jenkins) Reviewed-by: Raul Rangel --- src/drivers/i2c/designware/dw_i2c.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/drivers/i2c/designware/dw_i2c.c b/src/drivers/i2c/designware/dw_i2c.c index a6498fb1c3..1f7433ece8 100644 --- a/src/drivers/i2c/designware/dw_i2c.c +++ b/src/drivers/i2c/designware/dw_i2c.c @@ -8,6 +8,7 @@ #include #include #include +#include #include "dw_i2c.h" /* Use a ~10ms timeout for various operations */