* [PATCH] iio: adc: Fix exynos_adc dependencies
@ 2014-04-08 12:54 Jean Delvare
2014-04-08 13:00 ` Lars-Peter Clausen
0 siblings, 1 reply; 3+ messages in thread
From: Jean Delvare @ 2014-04-08 12:54 UTC (permalink / raw)
To: linux-iio; +Cc: Jonathan Cameron, Kukjin Kim
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>
---
drivers/iio/adc/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-3.15-rc0.orig/drivers/iio/adc/Kconfig 2014-04-07 10:23:04.475166797 +0200
+++ linux-3.15-rc0/drivers/iio/adc/Kconfig 2014-04-08 14:49:16.205616632 +0200
@@ -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
--
Jean Delvare
SUSE L3 Support
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] iio: adc: Fix exynos_adc dependencies
2014-04-08 12:54 [PATCH] iio: adc: Fix exynos_adc dependencies Jean Delvare
@ 2014-04-08 13:00 ` Lars-Peter Clausen
2014-04-08 13:12 ` Jean Delvare
0 siblings, 1 reply; 3+ messages in thread
From: Lars-Peter Clausen @ 2014-04-08 13:00 UTC (permalink / raw)
To: Jean Delvare; +Cc: linux-iio, Jonathan Cameron, Kukjin Kim
On 04/08/2014 02:54 PM, Jean Delvare wrote:
> --- linux-3.15-rc0.orig/drivers/iio/adc/Kconfig 2014-04-07 10:23:04.475166797 +0200
> +++ linux-3.15-rc0/drivers/iio/adc/Kconfig 2014-04-08 14:49:16.205616632 +0200
> @@ -107,7 +107,7 @@ config AT91_ADC
>
> config EXYNOS_ADC
> bool "Exynos ADC driver support"
> - depends on OF
> + depends on ARCH_EXYNOS
|| COMPILE_TEST
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] iio: adc: Fix exynos_adc dependencies
2014-04-08 13:00 ` Lars-Peter Clausen
@ 2014-04-08 13:12 ` Jean Delvare
0 siblings, 0 replies; 3+ messages in thread
From: Jean Delvare @ 2014-04-08 13:12 UTC (permalink / raw)
To: Lars-Peter Clausen; +Cc: linux-iio, Jonathan Cameron, Kukjin Kim
Hi Lars-Peter,
Le Tuesday 08 April 2014 à 15:00 +0200, Lars-Peter Clausen a écrit :
> On 04/08/2014 02:54 PM, Jean Delvare wrote:
> > --- linux-3.15-rc0.orig/drivers/iio/adc/Kconfig 2014-04-07 10:23:04.475166797 +0200
> > +++ linux-3.15-rc0/drivers/iio/adc/Kconfig 2014-04-08 14:49:16.205616632 +0200
> > @@ -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.
--
Jean Delvare
SUSE L3 Support
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-04-08 13:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-08 12:54 [PATCH] iio: adc: Fix exynos_adc dependencies Jean Delvare
2014-04-08 13:00 ` Lars-Peter Clausen
2014-04-08 13:12 ` Jean Delvare
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox