]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
net: lan743x: select CRC16
authorArnd Bergmann <arnd@arndb.de>
Mon, 13 Aug 2018 21:19:21 +0000 (23:19 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Aug 2018 03:43:32 +0000 (20:43 -0700)
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>
drivers/net/ethernet/microchip/Kconfig

index 71dca8bd51acf4686aeb3f33ad7012e4d6a49985..16bd3f44dbe82f6aea55aad0a6ad4678fe919803 100644 (file)
@@ -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