Skip to contentSkip to conversation

iio: adc: Fix exynos_adc dependencies

PATCH Superseded Jean Delvare 2 participants 3 messages Apr 8, 2014 IIO

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iio: adc: Fix exynos_adc dependencies

EXYNOS_ADC shouldn't only depend on OF. It is useless on architectures other than Exynos so it should depend on ARCH_EXYNOS (which implies OF.)

Cc Jonathan Cameron <[email protected]>
Cc Kukjin Kim <[email protected]>
---
 drivers/iio/adc/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/adc/Kconfig +1 -1
@@ -107,7 +107,7 @@ config AT91_ADC
 
 config EXYNOS_ADC
 	bool "Exynos ADC driver support"
-	depends on OF
+	depends on ARCH_EXYNOS
 	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 · 2 lines
Jean Delvare
SUSE L3 Support
#1 lore raw

drivers/iio/adc/Kconfig config AT91_ADC · line 110

Quoted 8 lines · Jean Delvare
drivers/iio/adc/Kconfig +1 -1
@@ -107,7 +107,7 @@ config AT91_ADC
 
  config EXYNOS_ADC
  	bool "Exynos ADC driver support"
-	depends on OF
+	depends on ARCH_EXYNOS

|| COMPILE_TEST

#2 lore raw

Hi Lars-Peter,

Quoted 11 lines · Lars-Peter Clausen

drivers/iio/adc/Kconfig config AT91_ADC · line 110

Quoted 8 lines · Jean Delvare
drivers/iio/adc/Kconfig +1 -1
@@ -107,7 +107,7 @@ config AT91_ADC
 
  config EXYNOS_ADC
  	bool "Exynos ADC driver support"
-	depends on OF
+	depends on ARCH_EXYNOS

|| COMPILE_TEST

Fair enough, I can do that. I'll send an updated patch in a minute.

Signature · 2 lines
Jean Delvare
SUSE L3 Support