aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaveen Krishna Chatradhi <[email protected]>2013-03-15 16:23:00 +0000
committerJonathan Cameron <[email protected]>2013-03-17 20:11:15 +0000
commit039a9dce0d192196d40bd35d4bfebfbcade5d14e (patch)
tree5b0c41698300b8ff69ca321e697013bf65ba218f
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 <[email protected]> Reported-by: Dan Carpenter <[email protected]> Reviewed-by: Doug Anderson <[email protected]> Cc: Lars-Peter Clausen <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
-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
config EXYNOS_ADC
bool "Exynos ADC driver support"
+ depends on OF
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