]> 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)
commitb3bc551164b2b6bd359b0e086954dac5411b924c
treed25662759f05308b03fff520ed66ff406c2d5af7
parentc979df831e24827a2d30f36d42b737f06c344fff
net: ti: cpmac: Fix build error due to missed API change

Commit 4c73cde247d0 ("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: 4c73cde247d0 ("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