소스 검색

USB: gadget: ether needs to select CRC32

Fix build error, ether uses/needs to select CRC32 config symbol:

ether.c:(.text+0x271480): undefined reference to `crc32_le'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Randy Dunlap 15 년 전
부모
커밋
9e221be815
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      drivers/usb/gadget/Kconfig

+ 1 - 0
drivers/usb/gadget/Kconfig

@@ -627,6 +627,7 @@ config USB_AUDIO
 config USB_ETH
 config USB_ETH
 	tristate "Ethernet Gadget (with CDC Ethernet support)"
 	tristate "Ethernet Gadget (with CDC Ethernet support)"
 	depends on NET
 	depends on NET
+	select CRC32
 	help
 	help
 	  This driver implements Ethernet style communication, in one of
 	  This driver implements Ethernet style communication, in one of
 	  several ways:
 	  several ways: