[PATCH -next] w1: fix ds28e04 build, select CRC16

From: Randy Dunlap
Date: Wed Apr 18 2012 - 11:05:55 EST


From: Randy Dunlap <rdunlap@xxxxxxxxxxxx>

Fix build error by selecting CRC16:

ERROR: "crc16" [drivers/w1/slaves/w1_ds28e04.ko] undefined!

Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxx>
Cc: Evgeniy Polyakov <zbr@xxxxxxxxxxx>
---
drivers/w1/slaves/Kconfig | 1 +
1 file changed, 1 insertion(+)

--- linux-next-20120418.orig/drivers/w1/slaves/Kconfig
+++ linux-next-20120418/drivers/w1/slaves/Kconfig
@@ -97,6 +97,7 @@ config W1_SLAVE_DS2781
config W1_SLAVE_DS28E04
tristate "4096-Bit Addressable 1-Wire EEPROM with PIO (DS28E04-100)"
depends on W1
+ select CRC16
help
Say Y here if you want to use a 1-wire
4kb EEPROM with PIO family device (DS28E04).
--
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/