]> git.baikalelectronics.ru Git - kernel.git/commit
net: ti: cpmac: Fix build error due to missed API change
authorGuenter Roeck <linux@roeck-us.net>
Sat, 9 Jan 2016 21:19:39 +0000 (13:19 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Jan 2016 04:34:49 +0000 (23:34 -0500)
commit68f654e2f3ec7dd1a7e8de6b232afc1bdddb4577
treed25662759f05308b03fff520ed66ff406c2d5af7
parent54552daa749e44d94b6e7aea5e0534e7de7a29ed
net: ti: cpmac: Fix build error due to missed API change

Commit 406bb4311456 ("phy: Add API for {un}registering an mdio device to
a bus") introduces an API to access mii_bus structures, but missed to
update the TI cpamc driver. This results in the following error message.

drivers/net/ethernet/ti/cpmac.c: In function 'cpmac_probe':
drivers/net/ethernet/ti/cpmac.c:1119:18: error:
'struct mii_bus' has no member named 'phy_map'

Fixes: 406bb4311456 ("phy: Add API for {un}registering an mdio device to a bus")
Cc: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpmac.c