From 729c61961c1eff3db3d9367810f47e182d19ead3 Mon Sep 17 00:00:00 2001 From: Mathew King Date: Tue, 9 Mar 2021 09:11:08 -0700 Subject: soc/amd/picasso: Allow GPIO defines to be used in ASL BUG=b:182269526 TEST=builds Signed-off-by: Mathew King Change-Id: Ib33a46a6eead84eaff2c4ac320800b7993f5c3f6 Reviewed-on: https://review.coreboot.org/c/coreboot/+/51383 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- src/soc/amd/picasso/include/soc/gpio.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/soc/amd/picasso/include/soc/gpio.h b/src/soc/amd/picasso/include/soc/gpio.h index 0f4507cd2e..70eaf9857f 100644 --- a/src/soc/amd/picasso/include/soc/gpio.h +++ b/src/soc/amd/picasso/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 */ @@ -296,5 +299,4 @@ #define GPIO_2_EVENT GEVENT_8 -#endif /* __ACPI__ */ #endif /* AMD_PICASSO_GPIO_H */ -- cgit v1.2.3