From ee3254569dab8fe5b5a617a5d539db7b3ce5adc3 Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Wed, 3 Sep 2014 15:18:15 +0200 Subject: EFI: add missing include Otherwise building produces these warnings: [...] arch/efi/efi/efi-image.c:48:2: warning: implicit declaration of function 'read_file' [-Wimplicit-function-declaration] arch/efi/efi/efi-image.c:48:6: warning: assignment makes pointer from integer without a cast [enabled by default] [...] And bootm fails for x86_64. The implicit declaration has an int as return value, so half of the returned address is lost. Signed-off-by: Michael Olbrich Signed-off-by: Sascha Hauer --- arch/efi/efi/efi-image.c | 1 + 1 file changed, 1 insertion(+) (limited to 'arch/efi/efi/efi-image.c') diff --git a/arch/efi/efi/efi-image.c b/arch/efi/efi/efi-image.c index 18757d2697..d9edd91e4d 100644 --- a/arch/efi/efi/efi-image.c +++ b/arch/efi/efi/efi-image.c @@ -31,6 +31,7 @@ #include #include #include +#include #include #include #include -- cgit v1.2.3