iio: adc: adi-axi-adc: add proper Kconfig dependencies
authorAlexandru Ardelean <alexandru.ardelean@analog.com>
Wed, 10 Feb 2021 10:50:44 +0000 (12:50 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 14 Feb 2021 12:40:00 +0000 (12:40 +0000)
commitbe24c65e9fa2486bb8ec98d9f592bdcf04bedd88
treed918d61ad199ebde3a7025f24b5502a35c35f476
parentf890987fac8153227258121740a9609668c427f3
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>
drivers/iio/adc/Kconfig