diff options
author | Jakub Kicinski <kuba@kernel.org> | 2022-06-23 23:29:33 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-06-25 08:49:22 +0300 |
commit | ebeae54d3a77e2f6b6b4e18a31bb9a0f7cbff238 (patch) | |
tree | ce6b14ead141c4c513f93ba3360723c85ad8dbb2 /net/dsa | |
parent | 97a4d46b1516250d640c1ae0c9e7129d160d6a1c (diff) | |
download | linux-ebeae54d3a77e2f6b6b4e18a31bb9a0f7cbff238.tar.xz |
net: pcs: xpcs: depends on PHYLINK in Kconfig
This is yet another attempt at fixing:
>> ERROR: modpost: "phylink_mii_c22_pcs_encode_advertisement" [drivers/net/pcs/pcs_xpcs.ko] undefined!
>> ERROR: modpost: "phylink_mii_c22_pcs_decode_state" [drivers/net/pcs/pcs_xpcs.ko] undefined!
Switch XPCS to be invisible, as Russell points out it's
"selected" by its consumers. Drop the dependency on MDIO_BUS
as "depends" is meaningless on "selected" symbols.
Reported-by: kernel test robot <lkp@intel.com>
Fixes: b47aec885bcd ("net: pcs: xpcs: add CL37 1000BASE-X AN support")
Link: https://lore.kernel.org/netdev/20220620201915.1195280-1-kuba@kernel.org/
Link: https://lore.kernel.org/r/20220622083521.0de3ea5c@kernel.org/
Link: https://lore.kernel.org/r/20220623202933.2341938-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/dsa')
0 files changed, 0 insertions, 0 deletions