phy: fix blackfin build failure
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Fri, 8 Jan 2016 11:28:14 +0000 (16:58 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Jan 2016 03:46:00 +0000 (22:46 -0500)
commit053842a8bffed47fab386954e2e9d0a00e13ae2c
tree824eecf5cf3e09893452a22c3695bed47371335d
parent89e7a154e01cffa325874e90cbb124057416de02
phy: fix blackfin build failure

The build of blackfin defconfig is failing with the error:
error: 'struct mii_bus' has no member named 'phy_map'

A new API mdiobus_get_phy() was introduced and phy_map was removed but
it was not changed here.

Fixes: 7f854420fbfe ("phy: Add API for {un}registering an mdio device to a bus.")
Cc: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Acked-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/adi/bfin_mac.c