[PATCH] IIO: rockchip: add missing dependencies for saradc

Vicente Bergas vicencb at gmail.com
Tue Sep 1 16:40:54 EDT 2020


This driver uses the triggered buffer functionality
but was not requiring it.

Signed-off-by: Vicente Bergas <vicencb at gmail.com>
---
 drivers/iio/adc/Kconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
index 66d9cc073157..cd90f60cdfd9 100644
--- a/drivers/iio/adc/Kconfig
+++ b/drivers/iio/adc/Kconfig
@@ -865,6 +865,9 @@ config ROCKCHIP_SARADC
 	tristate "Rockchip SARADC driver"
 	depends on ARCH_ROCKCHIP || (ARM && COMPILE_TEST)
 	depends on RESET_CONTROLLER
+	select IIO_BUFFER
+	select IIO_TRIGGER
+	select IIO_TRIGGERED_BUFFER
 	help
 	  Say yes here to build support for the SARADC found in SoCs from
 	  Rockchip.
-- 
2.28.0




More information about the Linux-rockchip mailing list