]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: xgmiitorgmii: Use correct mdio bus
authorBrandon Maier <brandon.maier@rockwellcollins.com>
Tue, 26 Jun 2018 17:50:49 +0000 (12:50 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Jun 2018 07:12:06 +0000 (16:12 +0900)
commit4e1938ddcd61f3bf2f216e5a048e9620adad8339
treeaaad9bdeaa1ac2e11b11502ddf92f76c7eaf32f1
parent7cddd9b6735faae972c920565b9b24efee7aa37a
net: phy: xgmiitorgmii: Use correct mdio bus

The xgmiitorgmii is using the mii_bus of the device it's attached to,
instead of the bus it was given during probe.

Signed-off-by: Brandon Maier <brandon.maier@rockwellcollins.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/xilinx_gmii2rgmii.c