[PATCH 15/42] armlinux: sparse fixes
Sascha Hauer
s.hauer at pengutronix.de
Tue Oct 19 08:55:03 EDT 2010
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
arch/arm/lib/armlinux.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/arch/arm/lib/armlinux.c b/arch/arm/lib/armlinux.c
index f690fef..a70625c 100644
--- a/arch/arm/lib/armlinux.c
+++ b/arch/arm/lib/armlinux.c
@@ -40,6 +40,7 @@
#include <asm/global_data.h>
#include <asm/setup.h>
#include <asm/barebox-arm.h>
+#include <asm/armlinux.h>
static struct tag *params;
static int armlinux_architecture = 0;
@@ -207,7 +208,7 @@ void armlinux_set_serial(u64 serial)
}
#ifdef CONFIG_CMD_BOOTM
-int do_bootm_linux(struct image_data *data)
+static int do_bootm_linux(struct image_data *data)
{
void (*theKernel)(int zero, int arch, void *params);
image_header_t *os_header = &data->os->header;
--
1.7.2.3
More information about the barebox
mailing list