Эх сурвалжийг харах

net: lan743x: select CRC16

lan743x now fails to build when CONFIG_CRC16 is disabled:

drivers/net/ethernet/microchip/lan743x_main.o: In function crc16'

Force it on like all other users do.

Fixes: 4d94282afd95 ("lan743x: Add power management support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Arnd Bergmann 7 жил өмнө
parent
commit
3aad924025

+ 1 - 0
drivers/net/ethernet/microchip/Kconfig

@@ -46,6 +46,7 @@ config LAN743X
 	tristate "LAN743x support"
 	tristate "LAN743x support"
 	depends on PCI
 	depends on PCI
 	select PHYLIB
 	select PHYLIB
+	select CRC16
 	---help---
 	---help---
 	  Support for the Microchip LAN743x PCI Express Gigabit Ethernet chip
 	  Support for the Microchip LAN743x PCI Express Gigabit Ethernet chip