[PATCH] arm: baltos: define baltos_sram_init() return type as void
Sascha Hauer
s.hauer at pengutronix.de
Mon Mar 13 01:13:40 PDT 2017
On Fri, Mar 10, 2017 at 10:15:25AM +0100, yegorslists at googlemail.com wrote:
> From: Yegor Yefremov <yegorslists at 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 at googlemail.com>
> ---
> arch/arm/boards/vscom-baltos/lowlevel.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks
Sascha
>
> 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
>
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list