2020-09-04 17:05:39

by Alex Dewar

[permalink] [raw]
Subject: [PATCH] iio: adc: rockchip_saradc: Allow compile-testing with !ARM

There seems no reason to allow for compile-testing on ARM only, so
remove this restriction.

Build-tested with allyesconfig on x86.

Signed-off-by: Alex Dewar <[email protected]>
---
drivers/iio/adc/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
index d94dc800b842..03929606bb01 100644
--- a/drivers/iio/adc/Kconfig
+++ b/drivers/iio/adc/Kconfig
@@ -863,7 +863,7 @@ config RN5T618_ADC

config ROCKCHIP_SARADC
tristate "Rockchip SARADC driver"
- depends on ARCH_ROCKCHIP || (ARM && COMPILE_TEST)
+ depends on ARCH_ROCKCHIP || COMPILE_TEST
depends on RESET_CONTROLLER
select IIO_BUFFER
select IIO_TRIGGERED_BUFFER
--
2.28.0


2020-09-04 17:33:37

by Heiko Stübner

[permalink] [raw]
Subject: Re: [PATCH] iio: adc: rockchip_saradc: Allow compile-testing with !ARM

Am Freitag, 4. September 2020, 19:04:16 CEST schrieb Alex Dewar:
> There seems no reason to allow for compile-testing on ARM only, so
> remove this restriction.
>
> Build-tested with allyesconfig on x86.
>
> Signed-off-by: Alex Dewar <[email protected]>

Reviewed-by: Heiko Stuebner <[email protected]>

> ---
> drivers/iio/adc/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
> index d94dc800b842..03929606bb01 100644
> --- a/drivers/iio/adc/Kconfig
> +++ b/drivers/iio/adc/Kconfig
> @@ -863,7 +863,7 @@ config RN5T618_ADC
>
> config ROCKCHIP_SARADC
> tristate "Rockchip SARADC driver"
> - depends on ARCH_ROCKCHIP || (ARM && COMPILE_TEST)
> + depends on ARCH_ROCKCHIP || COMPILE_TEST
> depends on RESET_CONTROLLER
> select IIO_BUFFER
> select IIO_TRIGGERED_BUFFER
>




2020-09-06 13:39:22

by Jonathan Cameron

[permalink] [raw]
Subject: Re: [PATCH] iio: adc: rockchip_saradc: Allow compile-testing with !ARM

On Fri, 04 Sep 2020 19:32:22 +0200
Heiko Stübner <[email protected]> wrote:

> Am Freitag, 4. September 2020, 19:04:16 CEST schrieb Alex Dewar:
> > There seems no reason to allow for compile-testing on ARM only, so
> > remove this restriction.
> >
> > Build-tested with allyesconfig on x86.
> >
> > Signed-off-by: Alex Dewar <[email protected]>
>
> Reviewed-by: Heiko Stuebner <[email protected]>
Applied to the togreg branch of iio.git and pushed out as testing for
the autobuilders to poke at it and see if we missed anything.

Thanks,

Jonathan

>
> > ---
> > drivers/iio/adc/Kconfig | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
> > index d94dc800b842..03929606bb01 100644
> > --- a/drivers/iio/adc/Kconfig
> > +++ b/drivers/iio/adc/Kconfig
> > @@ -863,7 +863,7 @@ config RN5T618_ADC
> >
> > config ROCKCHIP_SARADC
> > tristate "Rockchip SARADC driver"
> > - depends on ARCH_ROCKCHIP || (ARM && COMPILE_TEST)
> > + depends on ARCH_ROCKCHIP || COMPILE_TEST
> > depends on RESET_CONTROLLER
> > select IIO_BUFFER
> > select IIO_TRIGGERED_BUFFER
> >
>
>
>
>