iio: adc: xilinx: support all platforms
authorRobert Hancock <hancock@sedsystems.ca>
Mon, 10 Jun 2019 16:23:44 +0000 (10:23 -0600)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 17 Jun 2019 20:06:49 +0000 (21:06 +0100)
Since the XADC logic can be used with standalone Xilinx FPGAs, this
driver can potentially be used with many different platforms, not just
the Zynq and MicroBlaze platforms this driver was allowed to be built
for. There should be no platform-specific code in this driver, so just
delete the platform dependency.

Signed-off-by: Robert Hancock <hancock@sedsystems.ca>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/Kconfig

index 2036eca..c242b8b 100644 (file)
@@ -1084,7 +1084,6 @@ config VIPERBOARD_ADC
 
 config XILINX_XADC
        tristate "Xilinx XADC driver"
-       depends on ARCH_ZYNQ || MICROBLAZE || COMPILE_TEST
        depends on HAS_IOMEM
        select IIO_BUFFER
        select IIO_TRIGGERED_BUFFER