From: Yegor Yefremov <yegorslists@xxxxxxxxxxxxxx> As stated in the routine's description this routine is to return void, hence fix its declaration to remove compiler warning. Signed-off-by: Yegor Yefremov <yegorslists@xxxxxxxxxxxxxx> --- arch/arm/boards/vscom-baltos/lowlevel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boards/vscom-baltos/lowlevel.c b/arch/arm/boards/vscom-baltos/lowlevel.c index 9f829b9..c4e2341 100644 --- a/arch/arm/boards/vscom-baltos/lowlevel.c +++ b/arch/arm/boards/vscom-baltos/lowlevel.c @@ -77,7 +77,7 @@ extern char __dtb_am335x_baltos_minimal_start[]; * * @return void */ -static noinline int baltos_sram_init(void) +static noinline void baltos_sram_init(void) { uint32_t sdram_size; void *fdt; -- 2.1.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox