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/mt8188 | |
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/mt8188')
-rw-r--r-- | src/soc/mediatek/mt8188/i2c.c | 2 | ||||
-rw-r--r-- | src/soc/mediatek/mt8188/msdc.c | 2 | ||||
-rw-r--r-- | src/soc/mediatek/mt8188/spi.c | 2 | ||||
-rw-r--r-- | src/soc/mediatek/mt8188/usb.c | 1 |
4 files changed, 3 insertions, 4 deletions
diff --git a/src/soc/mediatek/mt8188/i2c.c b/src/soc/mediatek/mt8188/i2c.c index c9841cb377..1de37c5052 100644 --- a/src/soc/mediatek/mt8188/i2c.c +++ b/src/soc/mediatek/mt8188/i2c.c @@ -9,8 +9,8 @@ #include <console/console.h> #include <device/i2c_simple.h> #include <device/mmio.h> +#include <gpio.h> #include <soc/i2c.h> -#include <soc/gpio.h> struct mtk_i2c mtk_i2c_bus_controller[] = { [0] = { diff --git a/src/soc/mediatek/mt8188/msdc.c b/src/soc/mediatek/mt8188/msdc.c index 72044f0a30..37a96a736c 100644 --- a/src/soc/mediatek/mt8188/msdc.c +++ b/src/soc/mediatek/mt8188/msdc.c @@ -6,8 +6,8 @@ */ #include <device/mmio.h> +#include <gpio.h> #include <soc/addressmap.h> -#include <soc/gpio.h> #include <soc/regulator.h> #include <soc/msdc.h> #include <soc/mt6359p.h> diff --git a/src/soc/mediatek/mt8188/spi.c b/src/soc/mediatek/mt8188/spi.c index 67249b493f..56efec5d9d 100644 --- a/src/soc/mediatek/mt8188/spi.c +++ b/src/soc/mediatek/mt8188/spi.c @@ -7,9 +7,9 @@ #include <assert.h> #include <device/mmio.h> +#include <gpio.h> #include <soc/addressmap.h> #include <soc/flash_controller_common.h> -#include <soc/gpio.h> #include <soc/spi.h> #include <spi_flash.h> diff --git a/src/soc/mediatek/mt8188/usb.c b/src/soc/mediatek/mt8188/usb.c index 58cee55bee..6c575cf44b 100644 --- a/src/soc/mediatek/mt8188/usb.c +++ b/src/soc/mediatek/mt8188/usb.c @@ -7,7 +7,6 @@ #include <device/mmio.h> #include <gpio.h> -#include <soc/gpio.h> #include <soc/infracfg.h> #include <soc/pll_common.h> #include <soc/usb.h> |