aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/i2c/designware
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2022-01-31 15:41:57 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-02-01 17:48:31 +0000
commit78695fd969c8ee3ab207f6eea235a5539d3ed8a1 (patch)
tree877fdd0b9145bb0ccb09db17ba994e4d5c629940 /src/drivers/i2c/designware
parenta70415624f147c5f476eabc496503fd9a6dd28d4 (diff)
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>
Diffstat (limited to 'src/drivers/i2c/designware')
-rw-r--r--src/drivers/i2c/designware/dw_i2c.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/i2c/designware/dw_i2c.h b/src/drivers/i2c/designware/dw_i2c.h
index e20a5d1d7e..c010b11d75 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