The following drivers make use of IIO_BUFFER and IIO_TRIGGERED_BUFFER,
but they don't select the required modules in their Kconfig entries.
There is also one case where REGMAP_SPI must be selected as well.
These entries have been missing since the drivers where introduced in
most cases, but in some occasions they were not added while adding
support for triggered buffers. If anyone wants to know, please take a
look at the Fixes: tags for more information.
Usually you will not notice the missing dependencies, but tiny
config files where those drivers are include will lead to multiple
errors when compiling and linking.
I have already sent a series that fixes this issue (mainly focused on
REGMAP*) [1] in some drivers, and this one attempts to complete the job
at least for REGMAP*, IIO_BUFFER and IIO_TRIGGERED_BUFFER.
Link: https://lore.kernel.org/linux-iio/20241003-ad2s1210-select-v1-0-4019453f8c33@gmail.com/T/#t [1]
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
---
Javier Carrasco (13):
iio: accel: kx022a: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
iio: adc: ad7944: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
iio: adc: ti-ads124s08: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
iio: adc: ti-ads8688: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
iio: adc: ti-lmp92064: add missing select REGMAP_SPI in Kconfig
iio: adc: ti-lmp92064: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
iio: dac: ad3552r: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
iio: dac: ad5766: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
iio: chemical: ens160: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
iio: light: bu27008: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
iio: magnetometer: af8133j: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
iio: pressure: bu1390: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
iio: proximity: mb1232: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
drivers/iio/accel/Kconfig | 2 ++
drivers/iio/adc/Kconfig | 9 +++++++++
drivers/iio/chemical/Kconfig | 2 ++
drivers/iio/dac/Kconfig | 4 ++++
drivers/iio/light/Kconfig | 2 ++
drivers/iio/magnetometer/Kconfig | 2 ++
drivers/iio/pressure/Kconfig | 3 +++
drivers/iio/proximity/Kconfig | 2 ++
8 files changed, 26 insertions(+)
---
base-commit: c02d24a5af66a9806922391493205a344749f2c4
change-id: 20241003-iio-select-209410bf9170
Best regards,
--
Javier Carrasco <javier.carrasco.cruz@gmail.com>