From d58877887a552321ca8272574ca7d551740bcf3a Mon Sep 17 00:00:00 2001 From: Mathew King Date: Fri, 5 Mar 2021 07:08:12 -0700 Subject: [PATCH] soc/amd/cezanne: Allow GPIO defines to be used in ASL BUG=b:180507937 TEST=builds Signed-off-by: Mathew King Change-Id: Ic29fa569899e7b77819ce7f72c6a748621684c40 Reviewed-on: https://review.coreboot.org/c/coreboot/+/51290 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh --- src/soc/amd/cezanne/include/soc/gpio.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/soc/amd/cezanne/include/soc/gpio.h b/src/soc/amd/cezanne/include/soc/gpio.h index a97eee8d4d..9da6162290 100644 --- a/src/soc/amd/cezanne/include/soc/gpio.h +++ b/src/soc/amd/cezanne/include/soc/gpio.h @@ -9,6 +9,9 @@ #ifndef __ACPI__ #include #include +#endif /* !__ACPI__ */ + +#include /* The following sections describe only the GPIOs defined for this SOC */ @@ -281,5 +284,4 @@ #define GPIO_2_EVENT GEVENT_8 -#endif /* !__ACPI__ */ #endif /* AMD_CEZANNE_GPIO_H */