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

Anatolij Gustschin agust at denx.de
Fri May 6 17:16:31 CEST 2016


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>
---
 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
 
-- 
1.7.9.5



More information about the U-Boot mailing list