From 51d6f5cc0a75c32a19489fb22f004b4678bbd9f4 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Wed, 24 Mar 2021 01:24:39 +0100 Subject: [PATCH] soc/amd/*/gpio: include types.h instead of stdint.h to have size_t Signed-off-by: Felix Held Change-Id: I7a747d4c28e6d449c054ce83966767e13b51a939 Reviewed-on: https://review.coreboot.org/c/coreboot/+/51782 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh --- src/soc/amd/cezanne/gpio.c | 2 +- src/soc/amd/picasso/gpio.c | 2 +- src/soc/amd/stoneyridge/gpio.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/soc/amd/cezanne/gpio.c b/src/soc/amd/cezanne/gpio.c index 6bfdf4d560..e1f504639d 100644 --- a/src/soc/amd/cezanne/gpio.c +++ b/src/soc/amd/cezanne/gpio.c @@ -1,11 +1,11 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include #include #include #include #include #include +#include /* see the IOMUX function table for the mapping from GPIO number to GEVENT number */ static const struct soc_amd_event gpio_event_table[] = { diff --git a/src/soc/amd/picasso/gpio.c b/src/soc/amd/picasso/gpio.c index 3d5dc73a0c..b7e1a45b9b 100644 --- a/src/soc/amd/picasso/gpio.c +++ b/src/soc/amd/picasso/gpio.c @@ -1,11 +1,11 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include #include #include #include #include #include +#include static const struct soc_amd_event gpio_event_table[] = { { GPIO_0, GEVENT_21 }, /* GPIO0 may only be used as PWR_BTN_L in ACPI */ diff --git a/src/soc/amd/stoneyridge/gpio.c b/src/soc/amd/stoneyridge/gpio.c index 93264db51d..d30fa63f56 100644 --- a/src/soc/amd/stoneyridge/gpio.c +++ b/src/soc/amd/stoneyridge/gpio.c @@ -1,11 +1,11 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include #include #include #include #include #include +#include static const struct soc_amd_event gpio_event_table[] = { { GPIO_1, GEVENT_19 },