[PATCH -next] nfc: shdlc needs to select CRC_CCITT

From: Randy Dunlap
Date: Mon May 14 2012 - 16:13:14 EST


From: Randy Dunlap <rdunlap@xxxxxxxxxxxx>

Fix build error: SHDLC uses crc_ccitt so it should select CRC_CCITT.

ERROR: "crc_ccitt" [net/nfc/hci/hci.ko] undefined!

Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxx>
Cc: Lauro Ramos Venancio <lauro.venancio@xxxxxxxxxxxxx>
Cc: Aloisio Almeida Jr <aloisio.almeida@xxxxxxxxxxxxx>
Cc: Samuel Ortiz <sameo@xxxxxxxxxxxxxxx>
---
net/nfc/hci/Kconfig | 1 +
1 file changed, 1 insertion(+)

--- linux-next-20120514.orig/net/nfc/hci/Kconfig
+++ linux-next-20120514/net/nfc/hci/Kconfig
@@ -11,6 +11,7 @@ config NFC_SHDLC
depends on NFC_HCI
bool "SHDLC link layer for HCI based NFC drivers"
default n
+ select CRC_CCITT
---help---
Say yes if you use an NFC HCI driver that requires SHDLC link layer.
If unsure, say N here.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/