Skip to contentSkip to conversation

iio: adc: Kconfig: exynos_adc depends on CONFIG_OF

PATCH Applied Naveen Krishna Chatradhi 3 participants 3 messages Mar 15, 2013 – Mar 17, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 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.

---
Discussion thread for this patch can be found at
http://www.gossamer-threads.com/lists/linux/kernel/1693284?page=last

 drivers/iio/adc/Kconfig |    1 +
 1 file changed, 1 insertion(+)
drivers/iio/adc/Kconfig +1 -0
index a40d3c2..9c45c0f 100644
@@ -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
Signature · 1 line
1.7.9.5
Reviewed-by on v1 1/2
#1 lore raw

Naveen,

Quoted 7 lines · Naveen Krishna Chatradhi

As the exynos_adc driver only supports device tree registration. Making driver depend on CONFIG_OF solves possible errors during probe.

Quoted 6 lines

---
Discussion thread for this patch can be found at
http://www.gossamer-threads.com/lists/linux/kernel/1693284?page=last

 drivers/iio/adc/Kconfig |    1 +
 1 file changed, 1 insertion(+)
maintainer Applied
#2 lore raw
Quoted 15 lines · Doug Anderson

Naveen,

Quoted 11 lines · Naveen Krishna Chatradhi

As the exynos_adc driver only supports device tree registration. Making driver depend on CONFIG_OF solves possible errors during probe.

Cc Doug Anderson <[email protected]>
Cc Lars-Peter Clausen <lars-Qo5EllUWu/[email protected]>

---
Discussion thread for this patch can be found at
http://www.gossamer-threads.com/lists/linux/kernel/1693284?page=last

Quoted 4 lines
Quoted 2 lines
 drivers/iio/adc/Kconfig |    1 +
 1 file changed, 1 insertion(+)

Applied to togreg branch of iio.git, thanks,

Quoted 5 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html