diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2020-09-23 18:41:22 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-25 05:49:36 +0300 |
commit | b5b6775d72e8662b5ea7f892bf06db4831e2c1aa (patch) | |
tree | 1a26295076806814769f12e895aa033a1964443b /include/linux/completion.h | |
parent | e7e95c900338904536f7f7af98d467118909e5eb (diff) | |
download | linux-b5b6775d72e8662b5ea7f892bf06db4831e2c1aa.tar.xz |
of: add of_mdio_find_device() api
Add a helper function which finds the mdio_device structure given a
device tree node. This is helpful for finding the PCS device based on a
DTS node but managing it as a mdio_device instead of a phy_device.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/completion.h')
0 files changed, 0 insertions, 0 deletions