9
0
Fork 0

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>
This commit is contained in:
Yegor Yefremov 2017-03-10 10:15:25 +01:00 committed by Sascha Hauer
parent 27f3f993b8
commit 2846e53d2d
1 changed files with 1 additions and 1 deletions

View File

@ -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;