Re: [PATCH net-next] net: pcs-xpcs: depend on MDIO_BUS instead of selecting it

2020-10-16 Thread Jakub Kicinski
On Thu, 15 Oct 2020 23:00:23 +0300 Ioana Ciornei wrote: > The below compile time error can be seen when PHYLIB is configured as a > module. > > ld: drivers/net/pcs/pcs-xpcs.o: in function `xpcs_read': > pcs-xpcs.c:(.text+0x29): undefined reference to `mdiobus_read' > ld: drivers/net/pcs/pcs-xpc

[PATCH net-next] net: pcs-xpcs: depend on MDIO_BUS instead of selecting it

2020-10-15 Thread Ioana Ciornei
The below compile time error can be seen when PHYLIB is configured as a module. ld: drivers/net/pcs/pcs-xpcs.o: in function `xpcs_read': pcs-xpcs.c:(.text+0x29): undefined reference to `mdiobus_read' ld: drivers/net/pcs/pcs-xpcs.o: in function `xpcs_soft_reset.constprop.7': pcs-xpcs.c:(.text+0