amd-xgbe: Add check to be sure amd-xgbe-phy driver is used
authorLendacky, Thomas <Thomas.Lendacky@amd.com>
Fri, 16 Jan 2015 18:46:34 +0000 (12:46 -0600)
committerDavid S. Miller <davem@davemloft.net>
Sat, 17 Jan 2015 03:24:19 +0000 (22:24 -0500)
commit94c043e53324478ed8ba33757dd7bc03298c83c7
tree0dabc5347b26e6a3a99cda1a899cca6902787645
parentcb69cb07685c11e8bc346fcda017e847f1658c88
amd-xgbe: Add check to be sure amd-xgbe-phy driver is used

The amd-xgbe driver relies on the amd-xgbe-phy phylib driver. Add a
check to be sure that if any errors occur during probing of the
amd-xgbe-phy driver then the amd-xgbe driver returns an error.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/xgbe/xgbe-mdio.c