diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2023-01-11 09:46:57 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-01-13 16:51:36 +0000 |
commit | 5316abe56cb2bb96fc8cc13eab38dce48f8d2426 (patch) | |
tree | 0a96d175862227e411568d82a2f9bfaf5a066960 /src/soc/mediatek/mt8173 | |
parent | 4d616e372f9da77dd47d642ff5fad71748d3005c (diff) |
soc/mediatek: Include <gpio.h> instead of <soc/gpio.h>
<gpio.h> chain-include <soc/gpio.h>.
Change-Id: If2af7f77e2d910a3f3470d15dbfc98775a2633b6
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/71813
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Diffstat (limited to 'src/soc/mediatek/mt8173')
-rw-r--r-- | src/soc/mediatek/mt8173/gpio_init.c | 2 | ||||
-rw-r--r-- | src/soc/mediatek/mt8173/spi.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/mediatek/mt8173/gpio_init.c b/src/soc/mediatek/mt8173/gpio_init.c index 80652d895d..b03de9fcf1 100644 --- a/src/soc/mediatek/mt8173/gpio_init.c +++ b/src/soc/mediatek/mt8173/gpio_init.c @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include <device/mmio.h> -#include <soc/gpio.h> +#include <gpio.h> #include <soc/mipi.h> /* diff --git a/src/soc/mediatek/mt8173/spi.c b/src/soc/mediatek/mt8173/spi.c index d3c8ad4cbb..b7d6d94f71 100644 --- a/src/soc/mediatek/mt8173/spi.c +++ b/src/soc/mediatek/mt8173/spi.c @@ -2,10 +2,10 @@ #include <device/mmio.h> #include <assert.h> +#include <gpio.h> #include <spi_flash.h> #include <soc/addressmap.h> #include <soc/flash_controller_common.h> -#include <soc/gpio.h> #include <soc/spi.h> struct mtk_spi_bus spi_bus[SPI_BUS_NUMBER] = { |