]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
w1: fix ds28e04 build, select CRC16
authorRandy Dunlap <rdunlap@xenotime.net>
Wed, 25 Apr 2012 01:04:51 +0000 (11:04 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 30 Apr 2012 05:17:42 +0000 (15:17 +1000)
Fix build error by selecting CRC16:

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

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Cc: Evgeniy Polyakov <zbr@ioremap.net>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/w1/slaves/Kconfig

index 605ee36c96f84c9a79fe6120e2166000fe2dd49b..73e392af266b7635c16d6cbfaad172c8af5614f2 100644 (file)
@@ -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).