From: Naveen Krishna Chatradhi Date: Fri, 15 Mar 2013 16:23:00 +0000 (+0000) Subject: iio: adc: Kconfig: exynos_adc depends on CONFIG_OF X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=039a9dce0d192196d40bd35d4bfebfbcade5d14e;p=linux-beck.git 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 Reported-by: Dan Carpenter Reviewed-by: Doug Anderson Cc: Lars-Peter Clausen Signed-off-by: Jonathan Cameron --- 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