]> git.baikalelectronics.ru Git - kernel.git/commit
dma: edma: move device registration to platform code
authorArnd Bergmann <arnd@arndb.de>
Fri, 24 Oct 2014 16:14:01 +0000 (18:14 +0200)
committerOlof Johansson <olof@lixom.net>
Thu, 6 Nov 2014 02:26:10 +0000 (18:26 -0800)
commit2cf8c6364ca1389106df6efcffe87685f764034c
tree86d5a7917409bc169bdfdbc4b9330faf90e5ae4c
parent4fce33024a29ab7c52bde2e922c861fd5748ca67
dma: edma: move device registration to platform code

The horrible split between the low-level part of the edma support
and the dmaengine front-end driver causes problems on multiplatform
kernels. This is an attempt to improve the situation slightly
by only registering the dmaengine devices that are actually
present.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
[olof: add missing include of linux/dma-mapping.h]
Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/common/edma.c
drivers/dma/edma.c