iio: adc: Kconfig: exynos_adc depends on CONFIG_OF
authorNaveen Krishna Chatradhi <ch.naveen@samsung.com>
Fri, 15 Mar 2013 16:23:00 +0000 (16:23 +0000)
committerJonathan Cameron <jic23@kernel.org>
Sun, 17 Mar 2013 20:11:15 +0000 (20:11 +0000)
commit039a9dce0d192196d40bd35d4bfebfbcade5d14e
tree5b0c41698300b8ff69ca321e697013bf65ba218f
parent1b9dc91e41e07125ef2ce7d0a8dde93ce3eaf414
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>
drivers/iio/adc/Kconfig