Procházet zdrojové kódy

socfpga: fix broken build if CONFIG_ETH_DESIGNWARE disabled

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

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Cc: Marek Vasut <marex@denx.de>
Anatolij Gustschin před 9 roky
rodič
revize
5289c5fa53
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      arch/arm/mach-socfpga/misc.c

+ 1 - 1
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