]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commitcf31ea71c0593ca6227bd3f4958c098753267f44
treeaaad9bdeaa1ac2e11b11502ddf92f76c7eaf32f1
parentab4e6ee578e88a659938db8fbf33720bc048d29c
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