• Oleksij Rempel's avatar
    net: ag71xx: fix mdio subnode support · 569aad4f
    Oleksij Rempel authored
    This patch is syncing driver with actual devicetree documentation:
    |Optional subnodes:
    |- mdio : specifies the mdio bus, used as a container for phy nodes
    |  according to phy.txt in the same directory
    The driver was working with fixed phy without any noticeable issues. This bug
    was uncovered by introducing dsa ar9331-switch driver.
    Since no one reported this bug until now, I assume no body is using it
    and this patch should not brake existing system.
    Fixes: d51b6ce4
     ("net: ethernet: add ag71xx driver")
    Signed-off-by: default avatarOleksij Rempel <o.rempel@pengutronix.de>
    Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>