public inbox for linux-iio@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] iio: adc: Fix exynos_adc dependencies
@ 2014-04-08 13:24 Jean Delvare
  2014-04-11 20:48 ` Jonathan Cameron
  0 siblings, 1 reply; 2+ messages in thread
From: Jean Delvare @ 2014-04-08 13:24 UTC (permalink / raw)
  To: linux-iio; +Cc: Jonathan Cameron, Kukjin Kim, Lars-Peter Clausen

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 <jdelvare@suse.de>
Cc: Jonathan Cameron <jic23@kernel.org>
Cc: Kukjin Kim <kgene.kim@samsung.com>
---
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(-)

--- linux-3.15-rc0.orig/drivers/iio/adc/Kconfig	2014-04-08 14:54:37.418421834 +0200
+++ linux-3.15-rc0/drivers/iio/adc/Kconfig	2014-04-08 15:20:42.735670677 +0200
@@ -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


-- 
Jean Delvare
SUSE L3 Support

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] iio: adc: Fix exynos_adc dependencies
  2014-04-08 13:24 [PATCH v2] iio: adc: Fix exynos_adc dependencies Jean Delvare
@ 2014-04-11 20:48 ` Jonathan Cameron
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2014-04-11 20:48 UTC (permalink / raw)
  To: Jean Delvare, linux-iio; +Cc: Kukjin Kim, Lars-Peter Clausen

On 08/04/14 14:24, Jean Delvare wrote:
> 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 <jdelvare@suse.de>
> Cc: Jonathan Cameron <jic23@kernel.org>
> Cc: Kukjin Kim <kgene.kim@samsung.com>
Applied to the togreg branch of iio.git - initially pushed out as testing.

Thanks,

Jonathan
> ---
> 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(-)
>
> --- linux-3.15-rc0.orig/drivers/iio/adc/Kconfig	2014-04-08 14:54:37.418421834 +0200
> +++ linux-3.15-rc0/drivers/iio/adc/Kconfig	2014-04-08 15:20:42.735670677 +0200
> @@ -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
>
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-04-11 20:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-08 13:24 [PATCH v2] iio: adc: Fix exynos_adc dependencies Jean Delvare
2014-04-11 20:48 ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox