diff options
| author | Matti Vaittinen <[email protected]> | 2025-08-13 09:16:06 +0000 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2025-08-16 12:25:35 +0000 |
| commit | 8a6ededaad2d2dcaac8e545bffee1073dca9db95 (patch) | |
| tree | 03398a980c0db56f8542b09e9c2caaa0a1f9f99f /scripts/generate_rust_target.rs | |
| parent | iio: imu: inv_icm42600: change invalid data error to -EBUSY (diff) | |
| download | kernel-8a6ededaad2d2dcaac8e545bffee1073dca9db95.tar.gz kernel-8a6ededaad2d2dcaac8e545bffee1073dca9db95.zip | |
iio: adc: bd79124: Add GPIOLIB dependency
The bd79124 has ADC inputs which can be muxed to be GPIOs. The driver
supports this by registering a GPIO-chip for channels which aren't used
as ADC.
The Kconfig entry does not handle the dependency to GPIOLIB, which
causes errors:
ERROR: modpost: "devm_gpiochip_add_data_with_key" [drivers/iio/adc/rohm-bd79124.ko] undefined!
ERROR: modpost: "gpiochip_get_data" [drivers/iio/adc/rohm-bd79124.ko] undefined!
at linking phase if GPIOLIB is not configured to be used.
Fix this by adding dependency to the GPIOLIB.
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Fixes: 3f57a3b9ab74 ("iio: adc: Support ROHM BD79124 ADC")
Signed-off-by: Matti Vaittinen <[email protected]>
Reviewed-by: Bartosz Golaszewski <[email protected]>
Link: https://patch.msgid.link/6837249bddf358924e67566293944506206d2d62.1755076369.git.mazziesaccount@gmail.com
Cc: <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions
