summaryrefslogtreecommitdiffstats
path: root/drivers/dma/dw/Makefile
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-05-26 21:24:15 +0300
committerVinod Koul <vkoul@kernel.org>2020-06-16 21:54:47 +0530
commit38e4fb66728f01821f5ac0ed2adb4a3d7f40329c (patch)
treecb45a7db1f7ba447cedbb818f2cd3c32909cadc5 /drivers/dma/dw/Makefile
parent432e8130af88e486c9419fe18fbff2edd64db374 (diff)
downloadlinux-38e4fb66728f01821f5ac0ed2adb4a3d7f40329c.tar.bz2
dmaengine: dw: Register ACPI DMA controller for PCI that has companion
If PCI enumerated controller has a companion device, register it in the ACPI DMA controllers as well. Fixes: f7c799e950f9 ("dmaengine: dw: we do support Merrifield SoC in PCI mode") Depends-on: b685fe26e9af ("dmaengine: dw: platform: Split ACPI helpers to separate module") Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20200526182416.52805-1-andriy.shevchenko@linux.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/dw/Makefile')
-rw-r--r--drivers/dma/dw/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/dw/Makefile b/drivers/dma/dw/Makefile
index b6f06699e91a..9e949f13e1b5 100644
--- a/drivers/dma/dw/Makefile
+++ b/drivers/dma/dw/Makefile
@@ -1,10 +1,10 @@
# SPDX-License-Identifier: GPL-2.0
obj-$(CONFIG_DW_DMAC_CORE) += dw_dmac_core.o
dw_dmac_core-objs := core.o dw.o idma32.o
+dw_dmac_core-$(CONFIG_ACPI) += acpi.o
obj-$(CONFIG_DW_DMAC) += dw_dmac.o
dw_dmac-y := platform.o
-dw_dmac-$(CONFIG_ACPI) += acpi.o
dw_dmac-$(CONFIG_OF) += of.o
obj-$(CONFIG_DW_DMAC_PCI) += dw_dmac_pci.o