From 1bd23e392238755a00fece98f67d1f2a0952305f Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Mon, 31 Oct 2022 13:13:37 +0100 Subject: [PATCH] mainboard: Include instead of Also sort includes. Change-Id: Iccb7f28a2c913ae0983bf224a03610d7fdd13c68 Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/69030 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- src/mainboard/asus/p5gc-mx/early_init.c | 15 ++++++++------- .../google/poppy/variants/nami/mainboard.c | 2 +- src/mainboard/intel/adlrvp/mainboard.c | 7 ++++--- src/mainboard/intel/icelake_rvp/spd/spd_util.c | 2 +- src/mainboard/prodrive/hermes/mainboard.c | 2 +- 5 files changed, 15 insertions(+), 13 deletions(-) diff --git a/src/mainboard/asus/p5gc-mx/early_init.c b/src/mainboard/asus/p5gc-mx/early_init.c index 22b6f0d0ee..6642011332 100644 --- a/src/mainboard/asus/p5gc-mx/early_init.c +++ b/src/mainboard/asus/p5gc-mx/early_init.c @@ -1,17 +1,18 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include -#include #include -#include -#include -#include #include +#include +#include +#include +#include #include #include -#include -#include -#include +#include +#include +#include + #define SERIAL_DEV PNP_DEV(0x2e, W83627DHG_SP1) #define GPIO_DEV PNP_DEV(0x2e, W83627DHG_GPIO2345_V) diff --git a/src/mainboard/google/poppy/variants/nami/mainboard.c b/src/mainboard/google/poppy/variants/nami/mainboard.c index 629469d48e..b703d40fc3 100644 --- a/src/mainboard/google/poppy/variants/nami/mainboard.c +++ b/src/mainboard/google/poppy/variants/nami/mainboard.c @@ -1,11 +1,11 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include #include #include #include #include #include +#include #include #include #include diff --git a/src/mainboard/intel/adlrvp/mainboard.c b/src/mainboard/intel/adlrvp/mainboard.c index 9862820a34..c1cbb31230 100644 --- a/src/mainboard/intel/adlrvp/mainboard.c +++ b/src/mainboard/intel/adlrvp/mainboard.c @@ -1,18 +1,19 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include #include #include +#include #include #include #include #include -#include +#include #include +#include #include #include + #include "board_id.h" -#include const char *smbios_system_sku(void) { diff --git a/src/mainboard/intel/icelake_rvp/spd/spd_util.c b/src/mainboard/intel/icelake_rvp/spd/spd_util.c index 12c3c0f4b2..39dd65a730 100644 --- a/src/mainboard/intel/icelake_rvp/spd/spd_util.c +++ b/src/mainboard/intel/icelake_rvp/spd/spd_util.c @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include +#include #include #include #include diff --git a/src/mainboard/prodrive/hermes/mainboard.c b/src/mainboard/prodrive/hermes/mainboard.c index b85186d3e7..88cb597b87 100644 --- a/src/mainboard/prodrive/hermes/mainboard.c +++ b/src/mainboard/prodrive/hermes/mainboard.c @@ -1,10 +1,10 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include -#include #include #include #include +#include #include #include #include