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)
commit0aa4d016c043d16a282e7e93edf6213a7b954c90
treec3249cc700e0f9f61c0014b4263320851267763f
parent0fd260056ef84ede8f444c66a3820811691fe884
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