diff mbox series

[1/2,v2] efi_loader: Sort header file ordering

Message ID 20201021220421.1926180-1-ilias.apalodimas@linaro.org
State Accepted, archived
Commit 19763ea0d235643ec33f8e3615a5c9943ecdc36b
Delegated to: Heinrich Schuchardt
Headers show
Series [1/2,v2] efi_loader: Sort header file ordering | expand

Commit Message

Ilias Apalodimas Oct. 21, 2020, 10:04 p.m. UTC
Order header files according to https://www.denx.de/wiki/U-Boot/CodingStyle

Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
 lib/efi_loader/efi_boottime.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

Comments

Ilias Apalodimas Oct. 22, 2020, 4:39 a.m. UTC | #1
+cc Mark

On Thu, 22 Oct 2020 at 01:04, Ilias Apalodimas
<ilias.apalodimas@linaro.org> wrote:
>
> Order header files according to https://www.denx.de/wiki/U-Boot/CodingStyle
>
> Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
> Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
> ---
>  lib/efi_loader/efi_boottime.c | 7 +++----
>  1 file changed, 3 insertions(+), 4 deletions(-)
>
> diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c
> index bf78176217c6..2896c3ea5aa8 100644
> --- a/lib/efi_loader/efi_boottime.c
> +++ b/lib/efi_loader/efi_boottime.c
> @@ -6,18 +6,17 @@
>   */
>
>  #include <common.h>
> +#include <bootm.h>
>  #include <div64.h>
>  #include <efi_loader.h>
>  #include <irq_func.h>
>  #include <log.h>
>  #include <malloc.h>
> -#include <time.h>
> -#include <linux/libfdt_env.h>
> -#include <u-boot/crc.h>
> -#include <bootm.h>
>  #include <pe.h>
> +#include <time.h>
>  #include <u-boot/crc.h>
>  #include <watchdog.h>
> +#include <linux/libfdt_env.h>
>
>  DECLARE_GLOBAL_DATA_PTR;
>
> --
> 2.28.0
>
Heinrich Schuchardt Oct. 22, 2020, 6:07 a.m. UTC | #2
On 10/22/20 12:04 AM, Ilias Apalodimas wrote:
> Order header files according to https://www.denx.de/wiki/U-Boot/CodingStyle
>
> Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
> Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
diff mbox series

Patch

diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c
index bf78176217c6..2896c3ea5aa8 100644
--- a/lib/efi_loader/efi_boottime.c
+++ b/lib/efi_loader/efi_boottime.c
@@ -6,18 +6,17 @@ 
  */
 
 #include <common.h>
+#include <bootm.h>
 #include <div64.h>
 #include <efi_loader.h>
 #include <irq_func.h>
 #include <log.h>
 #include <malloc.h>
-#include <time.h>
-#include <linux/libfdt_env.h>
-#include <u-boot/crc.h>
-#include <bootm.h>
 #include <pe.h>
+#include <time.h>
 #include <u-boot/crc.h>
 #include <watchdog.h>
+#include <linux/libfdt_env.h>
 
 DECLARE_GLOBAL_DATA_PTR;