Skip to content

Commit 73c4d1b

Browse files
hormsdavem330
authored andcommitted
net: lan743x: select FIXED_PHY
The blamed commit introduces usage of fixed_phy_register() but not a corresponding dependency on FIXED_PHY. This can result in a build failure. s390-linux-ld: drivers/net/ethernet/microchip/lan743x_main.o: in function `lan743x_phy_open': drivers/net/ethernet/microchip/lan743x_main.c:1514: undefined reference to `fixed_phy_register' Fixes: 624864f ("net: lan743x: add fixed phy support for LAN7431 device") Cc: [email protected] Reported-by: Randy Dunlap <[email protected]> Closes: https://lore.kernel.org/netdev/[email protected]/ Reviewed-by: Randy Dunlap <[email protected]> Tested-by: Randy Dunlap <[email protected]> # build-tested Signed-off-by: Simon Horman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 06a0716 commit 73c4d1b

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/ethernet/microchip

1 file changed

+1
-1
lines changed

drivers/net/ethernet/microchip/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ config LAN743X
4646
tristate "LAN743x support"
4747
depends on PCI
4848
depends on PTP_1588_CLOCK_OPTIONAL
49-
select PHYLIB
49+
select FIXED_PHY
5050
select CRC16
5151
select CRC32
5252
help

0 commit comments

Comments
 (0)