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)
committerVinod Koul <vkoul@kernel.org>
Mon, 12 Apr 2021 09:24:45 +0000 (14:54 +0530)
commit88cd1d6191b13689094310c2405394e4ce36d061
treebf1e8b4c9b554ffbbf6135d626391fc95f5fd936
parent0fff71c5a311e1264988179f7dcc217fda15fadd
dmaengine: dw: Make it dependent to HAS_IOMEM

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>
drivers/dma/dw/Kconfig