]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit5305e4d674ed5ec9bebd11d948affd411594d4cf
tree86d5a7917409bc169bdfdbc4b9330faf90e5ae4c
parentab699bc792ddbfbe022c67debf6c56d81ff67a80
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