]> git.baikalelectronics.ru Git - kernel.git/commit
of: mdio: export of_mdiobus_child_is_phy
authorAntoine Tenart <antoine.tenart@bootlin.com>
Tue, 17 Dec 2019 17:07:41 +0000 (18:07 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Dec 2019 01:32:21 +0000 (17:32 -0800)
commit8bd7e465f9d4d3b51a16815e02753945b98a542c
treec3249cc700e0f9f61c0014b4263320851267763f
parent0db46159a30815a6355e6e5227d38779a3e912e8
of: mdio: export of_mdiobus_child_is_phy

This patch exports of_mdiobus_child_is_phy, allowing to check if a child
node is a network PHY.

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/of/of_mdio.c
include/linux/of_mdio.h