summaryrefslogtreecommitdiffstats
path: root/drivers/w1
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2014-06-23 16:31:47 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-06-23 12:38:08 -0400
commit6b5fa77608352f05769ca4e10ec3a32d1446b4a6 (patch)
tree22afbdce9a6f481841a2c31aff74b200ba81097e /drivers/w1
parentf34323b64ac6bb475e158f93c08ee677ecffe8a3 (diff)
downloadlinux-6b5fa77608352f05769ca4e10ec3a32d1446b4a6.tar.bz2
w1: select crc16 library for ds2406
commit 94859308a21b "w1: new w1_ds2406 driver" added a new driver that uses the crc16 library, but didn't ensure that the core is there. This adds the necessary Kconfig statements, just like we have it for other w1 drivers. Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Scott Alfter <scott@alfter.us> Cc: Evgeniy Polyakov <zbr@ioremap.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/w1')
-rw-r--r--drivers/w1/slaves/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/w1/slaves/Kconfig b/drivers/w1/slaves/Kconfig
index fd31d2f32c48..cfe74d09932e 100644
--- a/drivers/w1/slaves/Kconfig
+++ b/drivers/w1/slaves/Kconfig
@@ -40,6 +40,7 @@ config W1_SLAVE_DS2413
config W1_SLAVE_DS2406
tristate "Dual Channel Addressable Switch 0x12 family support (DS2406)"
+ select CRC16
help
Say Y or M here if you want to use a 1-wire
DS2406 Dual Channel Addressable Switch. EPROM read/write