Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5646e856 authored by Hartmut Knaack's avatar Hartmut Knaack Committed by Jonathan Cameron
Browse files

iio:adc:cc10001_adc: fix Kconfig dependency



The Cosmic Circuits 10001 ADC driver depends on HAS_IOMEM, HAVE_CLK and
REGULATOR together, not just any of these.

Signed-off-by: default avatarHartmut Knaack <knaack.h@gmx.de>
Cc: <Stable@vger.kernel.org>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 40f34b0c
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -153,8 +153,7 @@ config DA9150_GPADC

config CC10001_ADC
	tristate "Cosmic Circuits 10001 ADC driver"
	depends on HAVE_CLK || REGULATOR
	depends on HAS_IOMEM
	depends on HAS_IOMEM && HAVE_CLK && REGULATOR
	select IIO_BUFFER
	select IIO_TRIGGERED_BUFFER
	help