]> git.dujemihanovic.xyz Git - u-boot.git/commit
phy: make phy_connect_fixed work with a null mdio bus
authorVladimir Oltean <vladimir.oltean@nxp.com>
Thu, 16 Jul 2020 10:09:08 +0000 (18:09 +0800)
committerTom Rini <trini@konsulko.com>
Thu, 24 Sep 2020 12:27:44 +0000 (08:27 -0400)
commit15c49df8d4cfbcc02ed28fff2703fb382545caf1
treea0247ab9e6b6c8f12849e991adf76ccf76b5df05
parentf51ce945d0da4ae45980f3105165172f60fa574c
phy: make phy_connect_fixed work with a null mdio bus

It is utterly pointless to require an MDIO bus pointer for a fixed PHY
device. The fixed.c implementation does not require it, only
phy_device_create. Fix that.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
drivers/net/phy/phy.c