]> 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)
commita50ba3eaad661671621298d656acfc7d4a7b7b58
treec3249cc700e0f9f61c0014b4263320851267763f
parent9c1f844844da517586d643fd6d65da655c23099e
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