diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2022-01-31 14:21:57 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-02-01 17:48:26 +0000 |
commit | a70415624f147c5f476eabc496503fd9a6dd28d4 (patch) | |
tree | 5f4cb26fefb557f295a2ce0cee2016071d6c4d8c /src | |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/drivers/i2c/designware/dw_i2c.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 <device/i2c_simple.h> #include <string.h> #include <timer.h> +#include <types.h> #include "dw_i2c.h" /* Use a ~10ms timeout for various operations */ |