瀏覽代碼

irda: net/irda build fix: mcs7780

-tip testing found the following build error:

  drivers/built-in.o: In function `mcs_receive_irq':
  mcs7780.c:(.text+0x4e429): undefined reference to `crc32_le'
  drivers/built-in.o: In function `mcs_hard_xmit':
  mcs7780.c:(.text+0x4e9af): undefined reference to `crc32_le'

with:

  http://redhat.com/~mingo/misc/config-Sun_Jun__8_22_56_14_CEST_2008.bad

the reason is a missing enablement of the CRC32 library in the Kconfig.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Samuel Ortiz <samuel@sortiz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Ingo Molnar 17 年之前
父節點
當前提交
1420a4faee
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/net/irda/Kconfig

+ 1 - 0
drivers/net/irda/Kconfig

@@ -329,6 +329,7 @@ config PXA_FICP
 config MCS_FIR
 config MCS_FIR
 	tristate "MosChip MCS7780 IrDA-USB dongle"
 	tristate "MosChip MCS7780 IrDA-USB dongle"
 	depends on IRDA && USB && EXPERIMENTAL
 	depends on IRDA && USB && EXPERIMENTAL
+	select CRC32
 	help
 	help
 	  Say Y or M here if you want to build support for the MosChip
 	  Say Y or M here if you want to build support for the MosChip
 	  MCS7780 IrDA-USB bridge device driver.
 	  MCS7780 IrDA-USB bridge device driver.