diff mbox series

[U-Boot,v4,1/1] efi: Correct header order in efi_memory

Message ID 20180308205327.26387-1-xypron.glpk@gmx.de
State Accepted
Commit bdecaebd5d5e266301b4bc4064b5fbc0922874d2
Delegated to: Alexander Graf
Headers show
Series [U-Boot,v4,1/1] efi: Correct header order in efi_memory | expand

Commit Message

Heinrich Schuchardt March 8, 2018, 8:53 p.m. UTC
From: Simon Glass <sjg@chromium.org>

The headers are not in the correct order. Fix this. Also drop libfdt_env.h
since it is not needed.

Signed-off-by: Simon Glass <sjg@chromium.org>
Rebased
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
v4
	rebased (linux/libfdt_env.h instead of libfdt_env.h)
v3
	no change
v2
	update commit message to dropping libfdt_env.h
---
 lib/efi_loader/efi_memory.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/lib/efi_loader/efi_memory.c b/lib/efi_loader/efi_memory.c
index d980e730ffa..95f9ff0a140 100644
--- a/lib/efi_loader/efi_memory.c
+++ b/lib/efi_loader/efi_memory.c
@@ -8,12 +8,11 @@ 
 
 #include <common.h>
 #include <efi_loader.h>
+#include <inttypes.h>
 #include <malloc.h>
+#include <watchdog.h>
 #include <asm/global_data.h>
-#include <linux/libfdt_env.h>
 #include <linux/list_sort.h>
-#include <inttypes.h>
-#include <watchdog.h>
 
 DECLARE_GLOBAL_DATA_PTR;