aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorNaveen Krishna Chatradhi <ch.naveen@samsung.com>2013-03-15 12:23:00 -0400
committerJonathan Cameron <jic23@kernel.org>2013-03-17 16:11:15 -0400
commit039a9dce0d192196d40bd35d4bfebfbcade5d14e (patch)
tree5b0c41698300b8ff69ca321e697013bf65ba218f /drivers/iio
parent1b9dc91e41e07125ef2ce7d0a8dde93ce3eaf414 (diff)
iio: adc: Kconfig: exynos_adc depends on CONFIG_OF
As the exynos_adc driver only supports device tree registration. Making driver depend on CONFIG_OF solves possible errors during probe. Signed-off-by: Naveen Krishna Chatradhi <ch.naveen@samsung.com> Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Doug Anderson <dianders@chromium.org> Cc: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio')
-rw-r--r--drivers/iio/adc/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
index a40d3c29f0cb..9c45c0f3f127 100644
--- a/drivers/iio/adc/Kconfig
+++ b/drivers/iio/adc/Kconfig
@@ -105,6 +105,7 @@ config AT91_ADC
105 105
106config EXYNOS_ADC 106config EXYNOS_ADC
107 bool "Exynos ADC driver support" 107 bool "Exynos ADC driver support"
108 depends on OF
108 help 109 help
109 Core support for the ADC block found in the Samsung EXYNOS series 110 Core support for the ADC block found in the Samsung EXYNOS series
110 of SoCs for drivers such as the touchscreen and hwmon to use to share 111 of SoCs for drivers such as the touchscreen and hwmon to use to share