From a1e22b8192d5fc85995a41d0961c25293ba4391f Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Mon, 18 Mar 2019 22:49:36 +0100 Subject: src: Use 'include ' when appropriate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Drop 'include ' when it is not used and add it when it is missing. Also extra lines removed, or added just before local includes. Change-Id: Iccac4dbaa2dd4144fc347af36ecfc9747da3de20 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/31966 Tested-by: build bot (Jenkins) Reviewed-by: Werner Zeh Reviewed-by: Kyösti Mälkki --- src/mainboard/gigabyte/ma785gm/acpi_tables.c | 1 - src/mainboard/gigabyte/ma785gm/get_bus_conf.c | 1 - src/mainboard/gigabyte/ma785gm/mptable.c | 3 --- src/mainboard/gigabyte/ma785gm/romstage.c | 1 - 4 files changed, 6 deletions(-) (limited to 'src/mainboard/gigabyte/ma785gm') diff --git a/src/mainboard/gigabyte/ma785gm/acpi_tables.c b/src/mainboard/gigabyte/ma785gm/acpi_tables.c index 0cdcdb791c..967343da67 100644 --- a/src/mainboard/gigabyte/ma785gm/acpi_tables.c +++ b/src/mainboard/gigabyte/ma785gm/acpi_tables.c @@ -13,7 +13,6 @@ * GNU General Public License for more details. */ -#include #include #include #include diff --git a/src/mainboard/gigabyte/ma785gm/get_bus_conf.c b/src/mainboard/gigabyte/ma785gm/get_bus_conf.c index cbf436bf6f..ee2a6caeb9 100644 --- a/src/mainboard/gigabyte/ma785gm/get_bus_conf.c +++ b/src/mainboard/gigabyte/ma785gm/get_bus_conf.c @@ -14,7 +14,6 @@ */ #include -#include #include #include #include diff --git a/src/mainboard/gigabyte/ma785gm/mptable.c b/src/mainboard/gigabyte/ma785gm/mptable.c index bffe1a24f2..b04a315bb1 100644 --- a/src/mainboard/gigabyte/ma785gm/mptable.c +++ b/src/mainboard/gigabyte/ma785gm/mptable.c @@ -16,14 +16,11 @@ #include #include #include -#include #include #include - extern u32 apicid_sb700; - static void *smp_write_config_table(void *v) { struct mp_config_table *mc; diff --git a/src/mainboard/gigabyte/ma785gm/romstage.c b/src/mainboard/gigabyte/ma785gm/romstage.c index f197ba9105..4ca318a4d8 100644 --- a/src/mainboard/gigabyte/ma785gm/romstage.c +++ b/src/mainboard/gigabyte/ma785gm/romstage.c @@ -18,7 +18,6 @@ //#define SYSTEM_TYPE 2 /* MOBILE */ #include -#include #include #include #include -- cgit v1.2.3