iio: adc: Fix exynos_adc dependencies
PATCH v2 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.)
Signed-off-by Jean Delvare <[email protected]>
Cc Jonathan Cameron <[email protected]>
Cc Kukjin Kim <[email protected]>
---
Changes since v1:
* Alternatively depend on COMPILE_TEST as requested by Lars-Peter Clausen. Thanks for the review!
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 || (OF && COMPILE_TEST) 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
Jonathan Cameron
maintainerQuoted 7 lines · Jean Delvare
EXYNOS_ADCshouldn't only depend on OF. It is useless on architectures other than Exynos so it should depend onARCH_EXYNOS(which implies OF.)Signed-off-by Jean Delvare <[email protected]>Cc Jonathan Cameron <[email protected]>Cc Kukjin Kim <[email protected]>
Applied to the togreg branch of iio.git - initially pushed out as testing.
Thanks,
Jonathan
Quoted 21 lines
---
Changes since v1:
* Alternatively depend onCOMPILE_TESTas requested by Lars-Peter Clausen. Thanks for the review!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 || (OF && COMPILE_TEST) 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