summaryrefslogtreecommitdiff
path: root/src/soc/amd/common/block
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2023-01-14 05:46:25 +0100
committerElyes Haouas <ehaouas@noos.fr>2023-01-18 05:13:30 +0000
commit5e2602ae4817eba77e7893ab41681fd0a74f6558 (patch)
tree990fa6affaa16115a7f5d20aea437a712f0a1fb8 /src/soc/amd/common/block
parent8f2e5c90e44c6d846a6367bb4051818fdcd577ea (diff)
soc/amd: Include <gpio.h> instead of <soc/gpio.h>
<gpio.h> chain-include <soc/gpio.h>. Change-Id: I112e41ad4c7ee638954dfe3f1ddfeb10c138459a Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/71807 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Diffstat (limited to 'src/soc/amd/common/block')
-rw-r--r--src/soc/amd/common/block/acpi/gpio.c2
-rw-r--r--src/soc/amd/common/block/gpio/gpio.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/soc/amd/common/block/acpi/gpio.c b/src/soc/amd/common/block/acpi/gpio.c
index c4e3801545..7e7503bfe5 100644
--- a/src/soc/amd/common/block/acpi/gpio.c
+++ b/src/soc/amd/common/block/acpi/gpio.c
@@ -2,7 +2,7 @@
#include <acpi/acpigen.h>
#include <console/console.h>
-#include <soc/gpio.h>
+#include <gpio.h>
static int acpigen_soc_gpio_op(const char *op, unsigned int gpio_num)
{
diff --git a/src/soc/amd/common/block/gpio/gpio.c b/src/soc/amd/common/block/gpio/gpio.c
index e8203a1f15..ce098d0643 100644
--- a/src/soc/amd/common/block/gpio/gpio.c
+++ b/src/soc/amd/common/block/gpio/gpio.c
@@ -10,7 +10,6 @@
#include <amdblocks/acpimmio.h>
#include <amdblocks/gpio.h>
#include <amdblocks/smi.h>
-#include <soc/gpio.h>
#include <soc/smi.h>
#include <assert.h>
#include <string.h>