diff options
author | Christian Marangi <ansuelsmth@gmail.com> | 2023-05-07 02:44:05 +0200 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2023-05-12 03:15:40 +0200 |
commit | f938826a65dd9504b99aee19a6a31b69a442e5fd (patch) | |
tree | 2130ecf9b731c8f8d07cea1d9cf6103bf8a0cc70 /target/Config.in | |
parent | 7fa7cbc0b9fcc34bd0d4710664dcdadc723854c6 (diff) | |
download | upstream-f938826a65dd9504b99aee19a6a31b69a442e5fd.tar.gz upstream-f938826a65dd9504b99aee19a6a31b69a442e5fd.tar.bz2 upstream-f938826a65dd9504b99aee19a6a31b69a442e5fd.zip |
realtek: 5.15: fix warning for i2c_mii_valid_phy_id and i2c_mii_phy_addr
Rework exposing i2c_mii_valid_phy_id and i2c_mii_phy_addr in global
include.
Fix compilation warning:
In file included from drivers/net/phy/sfp.c:11:
./include/linux/mdio/mdio-i2c.h:27:21: error: 'i2c_mii_phy_addr' defined but not used [-Werror=unused-function]
27 | static unsigned int i2c_mii_phy_addr(int phy_id)
| ^~~~~~~~~~~~~~~~
./include/linux/mdio/mdio-i2c.h:22:13: error: 'i2c_mii_valid_phy_id' defined but not used [-Werror=unused-function]
22 | static bool i2c_mii_valid_phy_id(int phy_id)
| ^~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Diffstat (limited to 'target/Config.in')
0 files changed, 0 insertions, 0 deletions