Commit d6bf6983 authored by Jonathan Cameron's avatar Jonathan Cameron

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: default avatarJavier Carrasco <javier.carrasco.cruz@gmail.com>
Reported-by: default avatarkernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202409271341.0dhpXk7G-lkp@intel.com/
Link: https://patch.msgid.link/20240929172105.1819259-1-jic23@kernel.orgSigned-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent c9e9746f
...@@ -253,6 +253,7 @@ config MS5637 ...@@ -253,6 +253,7 @@ config MS5637
config SDP500 config SDP500
tristate "Sensirion SDP500 differential pressure sensor I2C driver" tristate "Sensirion SDP500 differential pressure sensor I2C driver"
depends on I2C depends on I2C
select CRC8
help help
Say Y here to build support for Sensirion SDP500 differential pressure Say Y here to build support for Sensirion SDP500 differential pressure
sensor I2C driver. sensor I2C driver.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment