diff options
author | Alexandru Ardelean <alexandru.ardelean@analog.com> | 2021-02-10 12:50:44 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-02-14 12:40:00 +0000 |
commit | be24c65e9fa2486bb8ec98d9f592bdcf04bedd88 (patch) | |
tree | d918d61ad199ebde3a7025f24b5502a35c35f476 | |
parent | f890987fac8153227258121740a9609668c427f3 (diff) | |
download | linux-stable-be24c65e9fa2486bb8ec98d9f592bdcf04bedd88.tar.gz linux-stable-be24c65e9fa2486bb8ec98d9f592bdcf04bedd88.tar.bz2 linux-stable-be24c65e9fa2486bb8ec98d9f592bdcf04bedd88.zip |
iio: adc: adi-axi-adc: add proper Kconfig dependencies
The ADI AXI ADC driver requires IO mem access and OF to work. This change
adds these dependencies to the Kconfig symbol of the driver.
This was also found via the lkp bot, as the
devm_platform_ioremap_resource() symbol was not found at link-time on the
S390 architecture.
Fixes: ef04070692a21 ("iio: adc: adi-axi-adc: add support for AXI ADC IP core")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Cc: <Stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20210210105044.48914-1-alexandru.ardelean@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
-rw-r--r-- | drivers/iio/adc/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig index 15587a1bc80d..8d0be5b3029a 100644 --- a/drivers/iio/adc/Kconfig +++ b/drivers/iio/adc/Kconfig @@ -266,6 +266,8 @@ config ADI_AXI_ADC select IIO_BUFFER select IIO_BUFFER_HW_CONSUMER select IIO_BUFFER_DMAENGINE + depends on HAS_IOMEM + depends on OF help Say yes here to build support for Analog Devices Generic AXI ADC IP core. The IP core is used for interfacing with |