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>
This commit is contained in:
parent
5a824c493a
commit
5289c5fa53
|
@ -172,7 +172,7 @@ static int socfpga_eth_reset(void)
|
|||
#else
|
||||
static int socfpga_eth_reset(void)
|
||||
{
|
||||
return 0
|
||||
return 0;
|
||||
};
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue