Message ID | 20221114133649.1737027-1-cosmin.tanislav@analog.com |
---|---|
State | Accepted |
Commit | 10c4539d1d5581646997d7f9b430319bcb9245b1 |
Headers | show |
Series | iio: adc: ad4130: depend on GPIOLIB | expand |
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
Fixes undefined references to 'gpiochip_get_data' and 'devm_gpiochip_add_data_with_key'. Signed-off-by: Cosmin Tanislav <cosmin.tanislav@analog.com> Reported-by: kernel test robot <lkp@intel.com> Fixes: 5bdef39c5c6e ("iio: adc: ad4130: add AD4130 driver") --- drivers/iio/adc/Kconfig | 1 + 1 file changed, 1 insertion(+)