mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
w1: ds250x: Fix build error without CRC16
If CRC16 is not set, building will fails:
drivers/w1/slaves/w1_ds250x.o: In function `w1_ds2505_read_page':
w1_ds250x.c:(.text+0x82f): undefined reference to `crc16'
w1_ds250x.c:(.text+0x90a): undefined reference to `crc16'
w1_ds250x.c:(.text+0x91a): undefined reference to `crc16'
Reported-by: Hulk Robot <[email protected]>
Fixes: 25ec8710d9 ("w1: add DS2501, DS2502, DS2505 EPROM device driver")
Signed-off-by: YueHaibing <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
e0b0cb9388
commit
b058b2552e
1 changed files with 1 additions and 0 deletions
|
|
@ -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).
|
||||
|
|
|
|||
Loading…
Reference in a new issue