]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf37e379c67d2248ffe5115cf976580cebe93c780
treebf1e8b4c9b554ffbbf6135d626391fc95f5fd936
parent959c87bb368ae99677a925d525c0f78095eab2d8
dmaengine: dw: Make it dependent to HAS_IOMEM

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

Fixes: b15747f15972 ("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