summaryrefslogtreecommitdiff
path: root/src/soc/mediatek/mt8183
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/mediatek/mt8183')
-rw-r--r--src/soc/mediatek/mt8183/i2c.c2
-rw-r--r--src/soc/mediatek/mt8183/mt8183.c2
-rw-r--r--src/soc/mediatek/mt8183/spi.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/mediatek/mt8183/i2c.c b/src/soc/mediatek/mt8183/i2c.c
index 1aaa236dd5..8bd7c36395 100644
--- a/src/soc/mediatek/mt8183/i2c.c
+++ b/src/soc/mediatek/mt8183/i2c.c
@@ -3,8 +3,8 @@
#include <assert.h>
#include <console/console.h>
#include <device/mmio.h>
+#include <gpio.h>
#include <soc/i2c.h>
-#include <soc/gpio.h>
struct mtk_i2c mtk_i2c_bus_controller[] = {
/* i2c0 setting */
diff --git a/src/soc/mediatek/mt8183/mt8183.c b/src/soc/mediatek/mt8183/mt8183.c
index 1c34246f2f..ca47e4993d 100644
--- a/src/soc/mediatek/mt8183/mt8183.c
+++ b/src/soc/mediatek/mt8183/mt8183.c
@@ -1,8 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only */
+#include <gpio.h>
#include <soc/mt8183.h>
#include <soc/wdt.h>
-#include <soc/gpio.h>
void mt8183_early_init(void)
{
diff --git a/src/soc/mediatek/mt8183/spi.c b/src/soc/mediatek/mt8183/spi.c
index c172f377da..9404f93c13 100644
--- a/src/soc/mediatek/mt8183/spi.c
+++ b/src/soc/mediatek/mt8183/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.h>
-#include <soc/gpio.h>
#include <soc/spi.h>
struct mtk_spi_bus spi_bus[SPI_BUS_NUMBER] = {