[PATCH -mmotm] w1: fix ds2423 build, needs to select CRC16

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Randy Dunlap
Date: Wednesday, November 17, 2010 - 10:25 pm

From: Randy Dunlap <randy.dunlap@oracle.com>

Fix w1_ds2423 build:  needs to select CRC16.

w1_ds2423.c:(.text+0x9971d): undefined reference to `crc16'
w1_ds2423.c:(.text+0x9973a): undefined reference to `crc16'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Mika Laitio <lamikr@pilppa.org>
---
 drivers/w1/slaves/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- mmotm-2010-1117-1703.orig/drivers/w1/slaves/Kconfig
+++ mmotm-2010-1117-1703/drivers/w1/slaves/Kconfig
@@ -18,6 +18,7 @@ config W1_SLAVE_SMEM
 
 config W1_SLAVE_DS2423
 	tristate "Counter 1-wire device (DS2423)"
+	select CRC16
 	help
 	  If you enable this you can read the counter values available
 	  in the DS2423 chipset from the w1_slave file under the
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
mmotm 2010-11-17-17-03 uploaded, akpm, (Wed Nov 17, 6:03 pm)
[PATCH -mmotm] w1: fix ds2423 build, needs to select CRC16, Randy Dunlap, (Wed Nov 17, 10:25 pm)
Re: mmotm 2010-11-17-17-03 uploaded, Zimny Lech, (Thu Nov 18, 4:42 am)
Re: mmotm 2010-11-17-17-03 uploaded, Valdis.Kletnieks, (Thu Nov 18, 2:25 pm)
Re: mmotm 2010-11-17-17-03 uploaded, Randy Dunlap, (Thu Nov 18, 2:29 pm)
Re: mmotm 2010-11-17-17-03 uploaded, Valdis.Kletnieks, (Thu Nov 18, 2:46 pm)