commit | a70415624f147c5f476eabc496503fd9a6dd28d4 | [log] [tgz] |
---|---|---|
author | Felix Held <felix-coreboot@felixheld.de> | Mon Jan 31 14:21:57 2022 +0100 |
committer | Felix Held <felix-coreboot@felixheld.de> | Tue Feb 01 17:48:26 2022 +0000 |
tree | 5f4cb26fefb557f295a2ce0cee2016071d6c4d8c | |
parent | f2a9c8d57ce44ddab45928cb77a48b44a615e8d0 [diff] |
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 <felix-coreboot@felixheld.de> Change-Id: Icda8d458565bf981545d720d612cbdace04bedd4 Reviewed-on: https://review.coreboot.org/c/coreboot/+/61508 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org>
diff --git a/src/drivers/i2c/designware/dw_i2c.c b/src/drivers/i2c/designware/dw_i2c.c index a6498fb..1f7433e 100644 --- a/src/drivers/i2c/designware/dw_i2c.c +++ b/src/drivers/i2c/designware/dw_i2c.c
@@ -8,6 +8,7 @@ #include <device/i2c_simple.h> #include <string.h> #include <timer.h> +#include <types.h> #include "dw_i2c.h" /* Use a ~10ms timeout for various operations */