summaryrefslogtreecommitdiffstats
path: root/arch/efi
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2014-09-03 15:18:15 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-09-03 15:53:22 +0200
commitee3254569dab8fe5b5a617a5d539db7b3ce5adc3 (patch)
treeceb9d0f9afa83477166e34d2be952b6b77ff5846 /arch/efi
parenta4f0146e0ee3d729b78c1223375d913bb42dde78 (diff)
downloadbarebox-ee3254569dab8fe5b5a617a5d539db7b3ce5adc3.tar.gz
barebox-ee3254569dab8fe5b5a617a5d539db7b3ce5adc3.tar.xz
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 <m.olbrich@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/efi')
-rw-r--r--arch/efi/efi/efi-image.c1
1 files changed, 1 insertions, 0 deletions
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 <linux/err.h>
#include <boot.h>
#include <fs.h>
+#include <libfile.h>
#include <binfmt.h>
#include <wchar.h>
#include <mach/efi.h>