diff mbox series

[1/2] net: lan743x: select CRC16

Message ID 20180813211938.2375199-1-arnd@arndb.de
State Accepted
Commit 3aad924025e2865e80212b9154749303618a1826
Headers show
Series [1/2] net: lan743x: select CRC16 | expand

Commit Message

Arnd Bergmann Aug. 13, 2018, 9:19 p.m. UTC
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>

---
 drivers/net/ethernet/microchip/Kconfig | 1 +
 1 file changed, 1 insertion(+)

-- 
2.18.0

Comments

David Miller Aug. 14, 2018, 3:44 a.m. UTC | #1
From: Arnd Bergmann <arnd@arndb.de>

Date: Mon, 13 Aug 2018 23:19:21 +0200

> 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>


Applied.
diff mbox series

Patch

diff --git a/drivers/net/ethernet/microchip/Kconfig b/drivers/net/ethernet/microchip/Kconfig
index 71dca8bd51ac..16bd3f44dbe8 100644
--- a/drivers/net/ethernet/microchip/Kconfig
+++ b/drivers/net/ethernet/microchip/Kconfig
@@ -46,6 +46,7 @@  config LAN743X
 	tristate "LAN743x support"
 	depends on PCI
 	select PHYLIB
+	select CRC16
 	---help---
 	  Support for the Microchip LAN743x PCI Express Gigabit Ethernet chip