summaryrefslogtreecommitdiffstats
path: root/src/soc/amd/picasso/gpio.c
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2021-03-24 01:24:39 +0100
committerFelix Held <felix-coreboot@felixheld.de>2021-03-29 18:47:59 +0000
commit51d6f5cc0a75c32a19489fb22f004b4678bbd9f4 (patch)
tree6bf3355ecb4dad116edcf850650f66239ecb0dc7 /src/soc/amd/picasso/gpio.c
parente7a68ec05aaa9906b283adeccf20034d56084ea4 (diff)
downloadcoreboot-51d6f5cc0a75c32a19489fb22f004b4678bbd9f4.tar.gz
coreboot-51d6f5cc0a75c32a19489fb22f004b4678bbd9f4.tar.bz2
coreboot-51d6f5cc0a75c32a19489fb22f004b4678bbd9f4.zip
soc/amd/*/gpio: include types.h instead of stdint.h to have size_t
Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I7a747d4c28e6d449c054ce83966767e13b51a939 Reviewed-on: https://review.coreboot.org/c/coreboot/+/51782 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/soc/amd/picasso/gpio.c')
-rw-r--r--src/soc/amd/picasso/gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/amd/picasso/gpio.c b/src/soc/amd/picasso/gpio.c
index 3d5dc73a0c25..b7e1a45b9b1b 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 <stdint.h>
#include <amdblocks/gpio_banks.h>
#include <amdblocks/acpimmio.h>
#include <amdblocks/smi.h>
#include <soc/gpio.h>
#include <soc/smi.h>
+#include <types.h>
static const struct soc_amd_event gpio_event_table[] = {
{ GPIO_0, GEVENT_21 }, /* GPIO0 may only be used as PWR_BTN_L in ACPI */