From 5316abe56cb2bb96fc8cc13eab38dce48f8d2426 Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Wed, 11 Jan 2023 09:46:57 +0100 Subject: soc/mediatek: Include instead of chain-include . Change-Id: If2af7f77e2d910a3f3470d15dbfc98775a2633b6 Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/71813 Tested-by: build bot (Jenkins) Reviewed-by: Hung-Te Lin --- src/soc/mediatek/mt8173/gpio_init.c | 2 +- src/soc/mediatek/mt8173/spi.c | 2 +- src/soc/mediatek/mt8183/i2c.c | 2 +- src/soc/mediatek/mt8183/mt8183.c | 2 +- src/soc/mediatek/mt8183/spi.c | 2 +- src/soc/mediatek/mt8186/i2c.c | 2 +- src/soc/mediatek/mt8186/msdc.c | 2 +- src/soc/mediatek/mt8186/spi.c | 2 +- src/soc/mediatek/mt8186/usb.c | 1 - src/soc/mediatek/mt8188/i2c.c | 2 +- src/soc/mediatek/mt8188/msdc.c | 2 +- src/soc/mediatek/mt8188/spi.c | 2 +- src/soc/mediatek/mt8188/usb.c | 1 - src/soc/mediatek/mt8192/i2c.c | 2 +- src/soc/mediatek/mt8192/msdc.c | 2 +- src/soc/mediatek/mt8192/spi.c | 2 +- src/soc/mediatek/mt8195/i2c.c | 2 +- src/soc/mediatek/mt8195/msdc.c | 2 +- src/soc/mediatek/mt8195/pcie.c | 2 +- src/soc/mediatek/mt8195/spi.c | 2 +- 20 files changed, 18 insertions(+), 20 deletions(-) (limited to 'src/soc') 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 -#include +#include #include /* 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 #include +#include #include #include #include -#include #include struct mtk_spi_bus spi_bus[SPI_BUS_NUMBER] = { 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 #include #include +#include #include -#include 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 #include #include -#include 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 #include +#include #include #include #include -#include #include struct mtk_spi_bus spi_bus[SPI_BUS_NUMBER] = { diff --git a/src/soc/mediatek/mt8186/i2c.c b/src/soc/mediatek/mt8186/i2c.c index 8345637008..9e7e4b3c04 100644 --- a/src/soc/mediatek/mt8186/i2c.c +++ b/src/soc/mediatek/mt8186/i2c.c @@ -9,8 +9,8 @@ #include #include #include +#include #include -#include struct mtk_i2c mtk_i2c_bus_controller[] = { [0] = { diff --git a/src/soc/mediatek/mt8186/msdc.c b/src/soc/mediatek/mt8186/msdc.c index 1a316db34d..c1e21de983 100644 --- a/src/soc/mediatek/mt8186/msdc.c +++ b/src/soc/mediatek/mt8186/msdc.c @@ -6,8 +6,8 @@ */ #include +#include #include -#include #include #include diff --git a/src/soc/mediatek/mt8186/spi.c b/src/soc/mediatek/mt8186/spi.c index 11f8b6ae92..adbd437e4a 100644 --- a/src/soc/mediatek/mt8186/spi.c +++ b/src/soc/mediatek/mt8186/spi.c @@ -8,10 +8,10 @@ #include #include #include +#include #include #include #include -#include #include struct mtk_spi_bus spi_bus[SPI_BUS_NUMBER] = { diff --git a/src/soc/mediatek/mt8186/usb.c b/src/soc/mediatek/mt8186/usb.c index 98d9c7c00e..42804dd77f 100644 --- a/src/soc/mediatek/mt8186/usb.c +++ b/src/soc/mediatek/mt8186/usb.c @@ -7,7 +7,6 @@ #include #include -#include #include #include 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 #include #include +#include #include -#include 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 +#include #include -#include #include #include #include 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 #include +#include #include #include -#include #include #include 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 #include -#include #include #include #include diff --git a/src/soc/mediatek/mt8192/i2c.c b/src/soc/mediatek/mt8192/i2c.c index 6d888334ef..a3f236ad8a 100644 --- a/src/soc/mediatek/mt8192/i2c.c +++ b/src/soc/mediatek/mt8192/i2c.c @@ -3,8 +3,8 @@ #include #include #include +#include #include -#include #define I2C_FULL_DUTY 100 #define I2C_HALF_DUTY 50 diff --git a/src/soc/mediatek/mt8192/msdc.c b/src/soc/mediatek/mt8192/msdc.c index 89f25a3adf..ec02b24208 100644 --- a/src/soc/mediatek/mt8192/msdc.c +++ b/src/soc/mediatek/mt8192/msdc.c @@ -1,8 +1,8 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include +#include #include -#include #include #include diff --git a/src/soc/mediatek/mt8192/spi.c b/src/soc/mediatek/mt8192/spi.c index b5abc85b83..42e5b4aaa9 100644 --- a/src/soc/mediatek/mt8192/spi.c +++ b/src/soc/mediatek/mt8192/spi.c @@ -2,9 +2,9 @@ #include #include +#include #include #include -#include #include struct mtk_spi_bus spi_bus[SPI_BUS_NUMBER] = { diff --git a/src/soc/mediatek/mt8195/i2c.c b/src/soc/mediatek/mt8195/i2c.c index 3f322217a2..e4041075d3 100644 --- a/src/soc/mediatek/mt8195/i2c.c +++ b/src/soc/mediatek/mt8195/i2c.c @@ -4,8 +4,8 @@ #include #include #include +#include #include -#include struct mtk_i2c mtk_i2c_bus_controller[] = { [0] = { diff --git a/src/soc/mediatek/mt8195/msdc.c b/src/soc/mediatek/mt8195/msdc.c index eb37b58b0d..8036e97639 100644 --- a/src/soc/mediatek/mt8195/msdc.c +++ b/src/soc/mediatek/mt8195/msdc.c @@ -1,8 +1,8 @@ /* SPDX-License-Identifier: GPL-2.0-only OR MIT */ #include +#include #include -#include #include #include #include diff --git a/src/soc/mediatek/mt8195/pcie.c b/src/soc/mediatek/mt8195/pcie.c index a95afe4310..c9f8ecd08b 100644 --- a/src/soc/mediatek/mt8195/pcie.c +++ b/src/soc/mediatek/mt8195/pcie.c @@ -5,9 +5,9 @@ #include #include #include +#include #include #include -#include #include #include #include diff --git a/src/soc/mediatek/mt8195/spi.c b/src/soc/mediatek/mt8195/spi.c index 44ab5a4eb1..2772612b09 100644 --- a/src/soc/mediatek/mt8195/spi.c +++ b/src/soc/mediatek/mt8195/spi.c @@ -2,9 +2,9 @@ #include #include +#include #include #include -#include #include struct mtk_spi_bus spi_bus[SPI_BUS_NUMBER] = { -- cgit v1.2.3