summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2017-03-10 10:15:25 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2017-03-13 09:13:17 +0100
commit2846e53d2d41742348459676edab737edf90604a (patch)
tree1bdcff925e62135557bf4b3e4d0ad348e407fcea
parent27f3f993b842b75518d81e83485166909f0af54c (diff)
downloadbarebox-2846e53d2d41742348459676edab737edf90604a.tar.gz
barebox-2846e53d2d41742348459676edab737edf90604a.tar.xz
arm: baltos: define baltos_sram_init() return type as void
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> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/arm/boards/vscom-baltos/lowlevel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boards/vscom-baltos/lowlevel.c b/arch/arm/boards/vscom-baltos/lowlevel.c
index 9f829b9977..c4e234196e 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;