diff options
| author | David S. Miller <davem@davemloft.net> | 2020-07-07 12:47:11 -0700 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2020-07-07 12:47:11 -0700 |
| commit | c8658e584126e34b2aec8b5cfa59aed0df2b5752 (patch) | |
| tree | dd7199f1d30da213fd32d83b33d01d2aae27c8cd /include/linux | |
| parent | 5411ca7178d40d94e009f3a00f10e20e6067037c (diff) | |
| parent | 791e5f61aec5a1332a8f760f43a6d32c416df602 (diff) | |
| download | cachepc-linux-c8658e584126e34b2aec8b5cfa59aed0df2b5752.tar.gz cachepc-linux-c8658e584126e34b2aec8b5cfa59aed0df2b5752.zip | |
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/linux')
| -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); |
