]> git.baikalelectronics.ru Git - kernel.git/commit
m32r: add simple dma
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Tue, 13 Dec 2016 00:40:54 +0000 (16:40 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 13 Dec 2016 02:55:06 +0000 (18:55 -0800)
commit1fe77b5feb817753c351b5d7c2a0f05cccf500f3
tree41006e529c67a83e8f27e76e89b18d9947652240
parent4d545340b1055a01788affa3ade5852c06852e23
m32r: add simple dma

Some builds of m32r were failing as it tried to build few drivers which
needed dma but m32r is not having dma support.  Objections were raised
when it was tried to make those drivers depend on HAS_DMA.  So the next
best thing is to add dma support to m32r.  dma_noop is a very simple dma
with 1:1 memory mapping.

Link: http://lkml.kernel.org/r/1475949198-31623-1-git-send-email-sudipm.mukherjee@gmail.com
Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/m32r/Kconfig
arch/m32r/include/asm/device.h
arch/m32r/include/asm/dma-mapping.h [new file with mode: 0644]