Skip to contentSkip to conversation

w1: ds2505: select CRC16

PATCH New Arnd Bergmann 1 participant 1 message Oct 1, 2019 W1 dallas's 1-wire bus

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 w1: ds2505: select CRC16

drivers/w1/slaves/w1_ds250x.o: In function `w1_ds2505_read_page':
w1_ds250x.c:(.text+0xed4): undefined reference to `crc16'

Fixes 25ec8710d9c2 ("w1: add DS2501, DS2502, DS2505 EPROM device driver")
---
 drivers/w1/slaves/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/w1/slaves/Kconfig +1 -0
index ebed495b9e69..b7847636501d 100644
@@ -103,6 +103,7 @@ config W1_SLAVE_DS2438
 
 config W1_SLAVE_DS250X
 	tristate "512b/1kb/16kb EPROM family support"
+	select CRC16
 	help
 	  Say Y here if you want to use a 1-wire
 	  512b/1kb/16kb EPROM family device (DS250x).
Signature · 1 line
2.20.0