Skip to contentSkip to conversation

socfpga: fix broken build if CONFIG_ETH_DESIGNWARE disabled

PATCH New Anatolij Gustschin 2 participants 2 messages May 6, 2016

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 socfpga: fix broken build if CONFIG_ETH_DESIGNWARE disabled

Building without ethernet driver doesn't work. Fix it.

---
 arch/arm/mach-socfpga/misc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-socfpga/misc.c +1 -1
index dd05e14..5cbd8a4 100644
@@ -172,7 +172,7 @@ static int socfpga_eth_reset(void)
 #else
 static int socfpga_eth_reset(void)
 {
-	return 0
+	return 0;
 };
 #endif
 
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 socfpga: fix broken build if CONFIG_ETH_DESIGNWARE disabled

Quoted 4 lines · Anatolij Gustschin

Building without ethernet driver doesn't work. Fix it.

Nice find, applied, thanks!

Quoted 18 lines
---
 arch/arm/mach-socfpga/misc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-socfpga/misc.c +1 -1
index dd05e14..5cbd8a4 100644
@@ -172,7 +172,7 @@ static int socfpga_eth_reset(void)
 #else
 static int socfpga_eth_reset(void)
 {
-	return 0
+	return 0;
 };
 #endif
 
Signature · 2 lines
Best regards,
Marek Vasut