Skip to content

Commit 458c95d

Browse files
arndbkuba-moo
authored andcommitted
net: dsa: MxL862xx: don't force-enable MAXLINEAR_GPHY
The newly added dsa driver attempts to enable the corresponding PHY driver, but that one has additional dependencies that may not be available: WARNING: unmet direct dependencies detected for MAXLINEAR_GPHY Depends on [m]: NETDEVICES [=y] && PHYLIB [=y] && (HWMON [=m] || HWMON [=m]=n [=n]) Selected by [y]: - NET_DSA_MXL862 [=y] && NETDEVICES [=y] && NET_DSA [=y] aarch64-linux-ld: drivers/net/phy/mxl-gpy.o: in function `gpy_probe': mxl-gpy.c:(.text.gpy_probe+0x13c): undefined reference to `devm_hwmon_device_register_with_info' aarch64-linux-ld: drivers/net/phy/mxl-gpy.o: in function `gpy_hwmon_read': mxl-gpy.c:(.text.gpy_hwmon_read+0x48): undefined reference to `polynomial_calc' There is actually no compile-time dependency, as DSA correctly uses the PHY abstractions. Remove the 'select' statement to reduce the complexity. Fixes: 23794be ("net: dsa: add basic initial driver for MxL862xx switches") Signed-off-by: Arnd Bergmann <[email protected]> Reviewed-by: Daniel Golle <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent a047497 commit 458c95d

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/net/dsa/mxl862xx/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
config NET_DSA_MXL862
33
tristate "MaxLinear MxL862xx"
44
depends on NET_DSA
5-
select MAXLINEAR_GPHY
65
select NET_DSA_TAG_MXL_862XX
76
help
87
This enables support for the MaxLinear MxL862xx switch family.

0 commit comments

Comments
 (0)