drivers: net: xgene: Fix backward compatibility
authorIyappan Subramanian <isubramanian@apm.com>
Sat, 13 Aug 2016 05:05:47 +0000 (22:05 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Aug 2016 18:48:53 +0000 (11:48 -0700)
commit03377e381bf48d7aaa797577789551b04bce7006
treefb44cdf7c42f0dc50cf66b2086847909e450e1ad
parentc50fc2622cbce4341daf40a4e7ad3f1625c9e55c
drivers: net: xgene: Fix backward compatibility

This patch fixes the backward compatibility on handling phy_connect(), by
iterating over the phy-handle, when new DT is used with older kernel.

Signed-off-by: Iyappan Subramanian <isubramanian@apm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/apm/xgene/xgene_enet_hw.c