[U-Boot] [PATCH] socfpga: fix broken build if CONFIG_ETH_DESIGNWARE disabled

Marek Vasut marex at denx.de
Fri May 6 18:31:51 CEST 2016


On 05/06/2016 05:16 PM, Anatolij Gustschin wrote:
> Building without ethernet driver doesn't work. Fix it.
> 
> Signed-off-by: Anatolij Gustschin <agust at denx.de>
> Cc: Marek Vasut <marex at denx.de>

Nice find, applied, thanks!

> ---
>  arch/arm/mach-socfpga/misc.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/mach-socfpga/misc.c b/arch/arm/mach-socfpga/misc.c
> index dd05e14..5cbd8a4 100644
> --- a/arch/arm/mach-socfpga/misc.c
> +++ b/arch/arm/mach-socfpga/misc.c
> @@ -172,7 +172,7 @@ static int socfpga_eth_reset(void)
>  #else
>  static int socfpga_eth_reset(void)
>  {
> -	return 0
> +	return 0;
>  };
>  #endif
>  
> 


-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list