[U-Boot] [PATCH] 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 --- arch/arm/mach-socfpga/misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-socfpga/misc.c b/arch/arm/mach-socfpga/misc.c index dd05e14..5cbd8a4 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

On 05/06/2016 05:16 PM, Anatolij Gustschin wrote:
Building without ethernet driver doesn't work. Fix it.
Signed-off-by: Anatolij Gustschin agust@denx.de Cc: Marek Vasut marex@denx.de
Nice find, applied, thanks!
arch/arm/mach-socfpga/misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-socfpga/misc.c b/arch/arm/mach-socfpga/misc.c index dd05e14..5cbd8a4 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
participants (2)
-
Anatolij Gustschin
-
Marek Vasut