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/northbridge/intel/gm45/acpi.c | 2 +- src/northbridge/intel/gm45/northbridge.c | 2 +- src/northbridge/intel/gm45/pcie.c | 1 - src/northbridge/intel/gm45/pm.c | 1 - src/northbridge/intel/gm45/romstage.c | 1 + src/northbridge/intel/gm45/thermal.c | 3 +-- 6 files changed, 4 insertions(+), 6 deletions(-) (limited to 'src/northbridge/intel/gm45') diff --git a/src/northbridge/intel/gm45/acpi.c b/src/northbridge/intel/gm45/acpi.c index 301743ce4a..decf712302 100644 --- a/src/northbridge/intel/gm45/acpi.c +++ b/src/northbridge/intel/gm45/acpi.c @@ -15,13 +15,13 @@ */ #include -#include #include #include #include #include #include #include + #include "gm45.h" unsigned long acpi_fill_mcfg(unsigned long current) diff --git a/src/northbridge/intel/gm45/northbridge.c b/src/northbridge/intel/gm45/northbridge.c index 40e4f61afd..f011cce8d7 100644 --- a/src/northbridge/intel/gm45/northbridge.c +++ b/src/northbridge/intel/gm45/northbridge.c @@ -20,11 +20,11 @@ #include #include #include -#include #include #include #include #include + #include "chip.h" #include "gm45.h" diff --git a/src/northbridge/intel/gm45/pcie.c b/src/northbridge/intel/gm45/pcie.c index c470b8147c..4199274f3c 100644 --- a/src/northbridge/intel/gm45/pcie.c +++ b/src/northbridge/intel/gm45/pcie.c @@ -16,7 +16,6 @@ #include #include -#include #include #include #include diff --git a/src/northbridge/intel/gm45/pm.c b/src/northbridge/intel/gm45/pm.c index a447a23093..d96bcf4528 100644 --- a/src/northbridge/intel/gm45/pm.c +++ b/src/northbridge/intel/gm45/pm.c @@ -16,7 +16,6 @@ #include #include -#include #include #include #include diff --git a/src/northbridge/intel/gm45/romstage.c b/src/northbridge/intel/gm45/romstage.c index 7335ac914f..09439f25ef 100644 --- a/src/northbridge/intel/gm45/romstage.c +++ b/src/northbridge/intel/gm45/romstage.c @@ -27,6 +27,7 @@ #include #include #include +#include #define LPC_DEV PCI_DEV(0, 0x1f, 0) #define MCH_DEV PCI_DEV(0, 0, 0) diff --git a/src/northbridge/intel/gm45/thermal.c b/src/northbridge/intel/gm45/thermal.c index 3ed75b30af..1629a67b8d 100644 --- a/src/northbridge/intel/gm45/thermal.c +++ b/src/northbridge/intel/gm45/thermal.c @@ -16,11 +16,10 @@ #include #include -#include #include #include -#include "delay.h" +#include "delay.h" #include "gm45.h" void raminit_thermal(const sysinfo_t *sysinfo) -- cgit v1.2.3