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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-next" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux