summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/boot.h6
-rw-r--r--include/image.h2
2 files changed, 6 insertions, 2 deletions
diff --git a/include/boot.h b/include/boot.h
index 889773bc2c..6fc7b05b60 100644
--- a/include/boot.h
+++ b/include/boot.h
@@ -1,11 +1,13 @@
#ifndef __BOOT_H
#define __BOOT_H
+#include <image.h>
+
#ifdef CONFIG_OF_FLAT_TREE
-int do_bootm_linux(struct image_handle *os, struct image_handle *initrd,
+extern int do_bootm_linux(struct image_handle *os, struct image_handle *initrd,
const char *oftree);
#else
-int do_bootm_linux(struct image_handle *os, struct image_handle *initrd);
+extern int do_bootm_linux(struct image_handle *os, struct image_handle *initrd);
#endif
#endif /* __BOOT_H */
diff --git a/include/image.h b/include/image.h
index d657efa0a5..0d2f47292b 100644
--- a/include/image.h
+++ b/include/image.h
@@ -31,6 +31,8 @@
#ifndef __IMAGE_H__
#define __IMAGE_H__
+#include <linux/types.h>
+
/*
* Operating System Codes
*/