Ver código fonte

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 9 anos atrás
pai
commit
5289c5fa53
1 arquivos alterados com 1 adições e 1 exclusões
  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