projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
572cc58
)
iio: adc: ad4130: depend on GPIOLIB
author
Cosmin Tanislav
<demonsingur@gmail.com>
Mon, 14 Nov 2022 13:36:49 +0000
(15:36 +0200)
committer
Jonathan Cameron
<Jonathan.Cameron@huawei.com>
Wed, 23 Nov 2022 19:59:16 +0000
(19:59 +0000)
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:
62094060cf3a
("iio: adc: ad4130: add AD4130 driver")
Link:
https://lore.kernel.org/r/20221114133649.1737027-1-cosmin.tanislav@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/Kconfig
patch
|
blob
|
history
diff --git
a/drivers/iio/adc/Kconfig
b/drivers/iio/adc/Kconfig
index
8d719fb
..
63f80d7
100644
(file)
--- 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