summaryrefslogtreecommitdiffstats
path: root/lib/Makefile
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2016-02-02 21:46:32 -0800
committerMichael S. Tsirkin <mst@redhat.com>2016-03-02 17:01:55 +0200
commita8463d4b0e47d1f37af684d97884ffcf35de043b (patch)
tree22edc03944c201629c6fd2c77805b014c05f9fbc /lib/Makefile
parente1f33be9186363da7955bcb5f0b03e6685544c50 (diff)
downloadlinux-a8463d4b0e47d1f37af684d97884ffcf35de043b.tar.gz
linux-a8463d4b0e47d1f37af684d97884ffcf35de043b.tar.bz2
linux-a8463d4b0e47d1f37af684d97884ffcf35de043b.zip
dma: Provide simple noop dma ops
We are going to require dma_ops for several common drivers, even for systems that do have an identity mapping. Lets provide some minimal no-op dma_ops that can be used for that purpose. Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Reviewed-by: Joerg Roedel <jroedel@suse.de> Signed-off-by: Andy Lutomirski <luto@kernel.org> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile
index a7c26a41a738..a572b86a1b1d 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -18,6 +18,7 @@ lib-y := ctype.o string.o vsprintf.o cmdline.o \
obj-$(CONFIG_ARCH_HAS_DEBUG_STRICT_USER_COPY_CHECKS) += usercopy.o
lib-$(CONFIG_MMU) += ioremap.o
lib-$(CONFIG_SMP) += cpumask.o
+lib-$(CONFIG_HAS_DMA) += dma-noop.o
lib-y += kobject.o klist.o
obj-y += lockref.o