dmaengine: dw: Make it dependent to HAS_IOMEM
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 24 Mar 2021 14:17:57 +0000 (16:17 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Apr 2021 11:00:50 +0000 (13:00 +0200)
commit56f9c04893fb29616183d3bd64b4182312d75065
treef67ea3c616c975dd093199db2c626fb863c50f77
parent4ecf25595273203010bc8318c4aee60ad64037ae
dmaengine: dw: Make it dependent to HAS_IOMEM

[ Upstream commit 88cd1d6191b13689094310c2405394e4ce36d061 ]

Some architectures do not provide devm_*() APIs. Hence make the driver
dependent on HAVE_IOMEM.

Fixes: dbde5c2934d1 ("dw_dmac: use devm_* functions to simplify code")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Link: https://lore.kernel.org/r/20210324141757.24710-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/dma/dw/Kconfig