Skip to content

Commit d6bf698

Browse files
committed
iio: pressure: sdp500: Add missing select CRC8
Fix: sh4-linux-ld: drivers/iio/pressure/sdp500.o: in function `sdp500_probe': >> drivers/iio/pressure/sdp500.c:130:(.text+0xe8): undefined reference to `crc8_populate_msb' sh4-linux-ld: drivers/iio/pressure/sdp500.o: in function `sdp500_read_raw': >> drivers/iio/pressure/sdp500.c:74:(.text+0x200): undefined reference to `crc8' by adding missing select. Reviewed-by: Javier Carrasco <[email protected]> Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Link: https://patch.msgid.link/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
1 parent c9e9746 commit d6bf698

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/iio/pressure/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@ config MS5637
253253
config SDP500
254254
tristate "Sensirion SDP500 differential pressure sensor I2C driver"
255255
depends on I2C
256+
select CRC8
256257
help
257258
Say Y here to build support for Sensirion SDP500 differential pressure
258259
sensor I2C driver.

0 commit comments

Comments
 (0)