Browse Source

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 năm trước cách đây
mục cha
commit
5289c5fa53
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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