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>
This commit is contained in:
Felix Held 2022-01-31 15:41:57 +01:00
parent a70415624f
commit 78695fd969
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
#include <device/device.h> #include <device/device.h>
#include <device/i2c.h> #include <device/i2c.h>
#include <stdint.h> #include <types.h>
#if CONFIG(DRIVERS_I2C_DESIGNWARE_DEBUG) #if CONFIG(DRIVERS_I2C_DESIGNWARE_DEBUG)
#define DW_I2C_DEBUG BIOS_DEBUG #define DW_I2C_DEBUG BIOS_DEBUG