mirror of
https://github.com/torvalds/linux.git
synced 2026-12-02 19:42:26 +00:00
Some architectures do not provide devm_*() APIs. Hence make the driver
dependent on HAVE_IOMEM.
Fixes: dbde5c2934 ("dw_dmac: use devm_* functions to simplify code")
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
28 lines
680 B
Plaintext
28 lines
680 B
Plaintext
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
#
|
|
# DMA engine configuration for dw
|
|
#
|
|
|
|
config DW_DMAC_CORE
|
|
tristate
|
|
select DMA_ENGINE
|
|
|
|
config DW_DMAC
|
|
tristate "Synopsys DesignWare AHB DMA platform driver"
|
|
depends on HAS_IOMEM
|
|
select DW_DMAC_CORE
|
|
help
|
|
Support the Synopsys DesignWare AHB DMA controller. This
|
|
can be integrated in chips such as the Intel Cherrytrail.
|
|
|
|
config DW_DMAC_PCI
|
|
tristate "Synopsys DesignWare AHB DMA PCI driver"
|
|
depends on PCI
|
|
depends on HAS_IOMEM
|
|
select DW_DMAC_CORE
|
|
help
|
|
Support the Synopsys DesignWare AHB DMA controller on the
|
|
platforms that enumerate it as a PCI device. For example,
|
|
Intel Medfield has integrated this GPDMA controller.
|