From: Anatolij Gustschin Date: Fri, 6 May 2016 15:16:31 +0000 (+0200) Subject: socfpga: fix broken build if CONFIG_ETH_DESIGNWARE disabled X-Git-Tag: v2016.05~7^2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5289c5fa5371dada10e9cbdcdbf3fb010905ea2d;p=oweals%2Fu-boot.git socfpga: fix broken build if CONFIG_ETH_DESIGNWARE disabled Building without ethernet driver doesn't work. Fix it. Signed-off-by: Anatolij Gustschin Cc: Marek Vasut --- diff --git a/arch/arm/mach-socfpga/misc.c b/arch/arm/mach-socfpga/misc.c index dd05e14c05..5cbd8a4325 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