diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-01-04 19:24:06 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-01-06 11:12:01 -0800 |
commit | 0c6610017459ed9642548694fe88971d3f4206aa (patch) | |
tree | c9ce737e7e881f611b894605fee75f6eee0f1a50 /net/dcb | |
parent | 238c855805c853eaec95b0bc3065effb64f955a0 (diff) |
net: ixp4xx_eth: Return proper error for eth_init_one
Return PTR_ERR(port->phydev) instead of 1 if phy_connect failed.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Krzysztof Halasa <khc@pm.waw.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dcb')
0 files changed, 0 insertions, 0 deletions