diff options
| author | 2020-07-07 12:47:11 -0700 | |
|---|---|---|
| committer | 2020-07-07 12:47:11 -0700 | |
| commit | c8658e584126e34b2aec8b5cfa59aed0df2b5752 (patch) | |
| tree | dd7199f1d30da213fd32d83b33d01d2aae27c8cd /include | |
| parent | net: sfp: Unique GPIO interrupt names (diff) | |
| parent | net: phy: mdio-octeon: Cleanup module loading dependencies (diff) | |
Merge branch 'phy-warn'
Andrew Lunn says:
====================
drivers/net/phy C=1 W=1 fixes
This fixes most of the Sparse and W=1 warnings in drivers/net/phy. The
Cavium code is still not fully clean, but it might actually be the
strange code is confusing Sparse.
v2
--
Added RB, TB, AB.
s/case/cause
Reverse Christmas tree
Module soft dependencies
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/phy.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/phy.h b/include/linux/phy.h index 101a48fa6750..1592c3d0e12f 100644 --- a/include/linux/phy.h +++ b/include/linux/phy.h @@ -1385,6 +1385,9 @@ int genphy_c45_pma_read_abilities(struct phy_device *phydev); int genphy_c45_read_status(struct phy_device *phydev); int genphy_c45_config_aneg(struct phy_device *phydev); +/* Generic C45 PHY driver */ +extern struct phy_driver genphy_c45_driver; + /* The gen10g_* functions are the old Clause 45 stub */ int gen10g_config_aneg(struct phy_device *phydev); |
