mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] arm: baltos: define baltos_sram_init() return type as void
@ 2017-03-10  9:15 yegorslists
  2017-03-13  8:13 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: yegorslists @ 2017-03-10  9:15 UTC (permalink / raw)
  To: barebox

From: Yegor Yefremov <yegorslists@googlemail.com>

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@googlemail.com>
---
 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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-03-13  8:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-10  9:15 [PATCH] arm: baltos: define baltos_sram_init() return type as void yegorslists
2017-03-13  8:13 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox