socfpga: fix broken build if CONFIG_ETH_DESIGNWARE disabled
Subsystems (3)
PATCH 1/1 socfpga: fix broken build if CONFIG_ETH_DESIGNWARE disabled
Building without ethernet driver doesn't work. Fix it.
Signed-off-by Anatolij Gustschin <[email protected]>
Cc Marek Vasut <[email protected]>
--- arch/arm/mach-socfpga/misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-socfpga/misc.c +1 -1
@@ -172,7 +172,7 @@ static int socfpga_eth_reset(void)#else static int socfpga_eth_reset (void ) { - return 0 +return 0 ; };#endif
Signature · 1 line
1.7.9.5
PATCH 1/1 socfpga: fix broken build if CONFIG_ETH_DESIGNWARE disabled
Quoted 4 lines · Anatolij Gustschin
Building without ethernet driver doesn't work. Fix it.
Signed-off-by Anatolij Gustschin <[email protected]>Cc Marek Vasut <[email protected]>
Nice find, applied, thanks!
Quoted 18 lines
--- arch/arm/mach-socfpga/misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm/mach-socfpga/misc.c +1
-1@@ -172,7 +172,7 @@ static int socfpga_eth_reset(void)#else static int socfpga_eth_reset (void ) { - return 0 +return 0 ; };#endif
Signature · 2 lines
Best regards, Marek Vasut