summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2014-08-04 14:24:00 +0100
committerJonathan Cameron <jic23@kernel.org>2014-04-11 21:48:22 +0100
commit9ef080ec0c5e9cddf68e73a70438a2a7916b595a (patch)
tree003611a9d65b031d45d1e7ce4297b9ce2391f1e0
parente20d6090e314fa52f25e4a257de3672aa474122c (diff)
downloadop-kernel-dev-9ef080ec0c5e9cddf68e73a70438a2a7916b595a.zip
op-kernel-dev-9ef080ec0c5e9cddf68e73a70438a2a7916b595a.tar.gz
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 <jdelvare@suse.de> Cc: Jonathan Cameron <jic23@kernel.org> Cc: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
-rw-r--r--drivers/iio/adc/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
index 1dffa2d..5572c50 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
OpenPOWER on IntegriCloud