From: Jean Delvare Date: Mon, 4 Aug 2014 13:24:00 +0000 (+0100) Subject: iio: adc: Fix exynos_adc dependencies X-Git-Tag: v3.16-rc1~30^2~36^2~1228^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9ef080ec0c5e9cddf68e73a70438a2a7916b595a;p=thirdparty%2Fkernel%2Flinux.git 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: Jean Delvare Cc: Jonathan Cameron Cc: Kukjin Kim Signed-off-by: Jonathan Cameron --- diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig index 1dffa2d56262d..5572c5067c3c3 100644 --- a/drivers/iio/adc/Kconfig +++ b/drivers/iio/adc/Kconfig @@ -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