iio: adc: rockchip_saradc: Allow compile-testing with !ARM
authorAlex Dewar <alex.dewar90@gmail.com>
Fri, 4 Sep 2020 17:04:16 +0000 (18:04 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 6 Sep 2020 15:13:40 +0000 (16:13 +0100)
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 <alex.dewar90@gmail.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20200904170416.16061-1-alex.dewar90@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/Kconfig

index f495d01a79b979766b684c9659faab10a0efa92e..e7a9c1834d397fd076a6b2d0d4e7332ddffdeec6 100644 (file)
@@ -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
        help
          Say yes here to build support for the SARADC found in SoCs from