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

From: Randy Dunlap <[email-masked]>
Date: Wed, 18 Apr 2012 08:06:33 -0700

From: Randy Dunlap <[email-masked]>

Fix build error by selecting CRC16:

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

Signed-off-by: Randy Dunlap <[email-masked]>
Cc:	Evgeniy Polyakov <[email-masked]>
---
 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).