Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/61509 )
Change subject: drivers/i2c/designware/dw_i2c.h: include types.h instead of stdint.h ......................................................................
drivers/i2c/designware/dw_i2c.h: include types.h instead of stdint.h
size_t is defined in stddef.h and not stdint.h, so include types.h to get both.
Signed-off-by: Felix Held felix-coreboot@felixheld.de Change-Id: I3782d3a949b72d1530ebd8078c46bc695f76dc4f Reviewed-on: https://review.coreboot.org/c/coreboot/+/61509 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Raul Rangel rrangel@chromium.org --- M src/drivers/i2c/designware/dw_i2c.h 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: build bot (Jenkins): Verified Raul Rangel: Looks good to me, approved
diff --git a/src/drivers/i2c/designware/dw_i2c.h b/src/drivers/i2c/designware/dw_i2c.h index e20a5d1..c010b11 100644 --- a/src/drivers/i2c/designware/dw_i2c.h +++ b/src/drivers/i2c/designware/dw_i2c.h @@ -5,7 +5,7 @@
#include <device/device.h> #include <device/i2c.h> -#include <stdint.h> +#include <types.h>
#if CONFIG(DRIVERS_I2C_DESIGNWARE_DEBUG) #define DW_I2C_DEBUG BIOS_DEBUG