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:
parent
27f3f993b8
commit
2846e53d2d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue