summaryrefslogtreecommitdiff
path: root/drivers/base/Makefile
diff options
context:
space:
mode:
authorMing Lei <tom.leiming@gmail.com>2009-07-12 21:44:55 +0800
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 09:50:47 -0700
commita56af87648054089d89874b52e3fc23ed4f274ad (patch)
tree81714be5cc39f830b4acf55ec782b46f36e67ebe /drivers/base/Makefile
parent162dd4212409fd2d36ff22547ea821bf3e86bcc9 (diff)
downloadlinux-3.10-a56af87648054089d89874b52e3fc23ed4f274ad.tar.gz
linux-3.10-a56af87648054089d89874b52e3fc23ed4f274ad.tar.bz2
linux-3.10-a56af87648054089d89874b52e3fc23ed4f274ad.zip
driver-core: move dma-coherent.c from kernel to driver/base
Placing dma-coherent.c in driver/base is better than in kernel, since it contains code to do per-device coherent dma memory handling. Signed-off-by: Ming Lei <tom.leiming@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/base/Makefile')
-rw-r--r--drivers/base/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/Makefile b/drivers/base/Makefile
index b5b8ba512b2..1b2640ce74f 100644
--- a/drivers/base/Makefile
+++ b/drivers/base/Makefile
@@ -6,6 +6,7 @@ obj-y := core.o sys.o bus.o dd.o \
attribute_container.o transport_class.o
obj-y += power/
obj-$(CONFIG_HAS_DMA) += dma-mapping.o
+obj-$(CONFIG_HAVE_GENERIC_DMA_COHERENT) += dma-coherent.o
obj-$(CONFIG_ISA) += isa.o
obj-$(CONFIG_FW_LOADER) += firmware_class.o
obj-$(CONFIG_NUMA) += node.o