aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCosmin Tanislav <[email protected]>2022-11-14 15:36:49 +0200
committerJonathan Cameron <[email protected]>2022-11-23 19:59:16 +0000
commit10c4539d1d5581646997d7f9b430319bcb9245b1 (patch)
treed303d55268a96ca76aa9743590aaa318078ca893
parent572cc583c92e7b113a0d0f650b02d80505920eef (diff)
iio: adc: ad4130: depend on GPIOLIB
Fixes undefined references to 'gpiochip_get_data' and 'devm_gpiochip_add_data_with_key'. Signed-off-by: Cosmin Tanislav <[email protected]> Reported-by: kernel test robot <[email protected]> Fixes: 62094060cf3a ("iio: adc: ad4130: add AD4130 driver") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
-rw-r--r--drivers/iio/adc/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
index 8d719fbb6acc..63f80d747cbd 100644
--- a/drivers/iio/adc/Kconfig
+++ b/drivers/iio/adc/Kconfig
@@ -24,6 +24,7 @@ config AD_SIGMA_DELTA
config AD4130
tristate "Analog Device AD4130 ADC Driver"
depends on SPI
+ depends on GPIOLIB
select IIO_BUFFER
select IIO_KFIFO_BUF
select REGMAP_SPI