diff options
author | Daniel Mack <zonque@gmail.com> | 2014-04-16 17:19:12 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-04-20 18:18:54 -0400 |
commit | af6b6967d6e17fe070c0fd1be364c34cbd31a523 (patch) | |
tree | f672f71b1951ac33a7736522749779e848acedb5 /include/linux/phy.h | |
parent | 6d4596905b65bf4c63c1a008f50bf385fa49f19b (diff) | |
download | linux-af6b6967d6e17fe070c0fd1be364c34cbd31a523.tar.gz linux-af6b6967d6e17fe070c0fd1be364c34cbd31a523.tar.bz2 linux-af6b6967d6e17fe070c0fd1be364c34cbd31a523.zip |
net: phy: export genphy_config_init()
This enables other drivers to call this generic implementation, and then
only do specific details on top of it.
Signed-off-by: Daniel Mack <zonque@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/phy.h')
-rw-r--r-- | include/linux/phy.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/phy.h b/include/linux/phy.h index 4d0221fd0688..51d15f684e7e 100644 --- a/include/linux/phy.h +++ b/include/linux/phy.h @@ -666,6 +666,7 @@ static inline int phy_read_status(struct phy_device *phydev) return phydev->drv->read_status(phydev); } +int genphy_config_init(struct phy_device *phydev); int genphy_setup_forced(struct phy_device *phydev); int genphy_restart_aneg(struct phy_device *phydev); int genphy_config_aneg(struct phy_device *phydev); |