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

Commit 9ef080ec authored by Jean Delvare's avatar Jean Delvare Committed by Jonathan Cameron
Browse files

iio: adc: Fix exynos_adc dependencies



EXYNOS_ADC shouldn't only depend on OF. It is useless on architectures
other than Exynos so it should depend on ARCH_EXYNOS (which implies
OF.)

Signed-off-by: default avatarJean Delvare <jdelvare@suse.de>
Cc: Jonathan Cameron <jic23@kernel.org>
Cc: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent e20d6090
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -118,7 +118,7 @@ config AT91_ADC

config EXYNOS_ADC
	bool "Exynos ADC driver support"
	depends on OF
	depends on ARCH_EXYNOS || (OF && COMPILE_TEST)
	help
	  Core support for the ADC block found in the Samsung EXYNOS series
	  of SoCs for drivers such as the touchscreen and hwmon to use to share