]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
dma: iop-adma: allow building without platform headers
authorArnd Bergmann <arnd@arndb.de>
Fri, 9 Aug 2019 16:33:18 +0000 (18:33 +0200)
committerArnd Bergmann <arnd@arndb.de>
Wed, 14 Aug 2019 13:36:22 +0000 (15:36 +0200)
commitaad7ad2a01e774f5cd0dde8f0bc6e253ae3f0d35
treeb6537d5cf903dc10b7bb972f84a2e517454108fa
parent00c9755524fbaa28117be774d7c92fddb5ca02f3
dma: iop-adma: allow building without platform headers

Now that iop3xx and iop13xx are gone, the iop-adma driver no
longer needs to deal with incompatible register layout defined
in machine specific header files.

Move the iop32x specific definitions into drivers/dma/iop-adma.h
and the platform_data into include/linux/platform_data/dma-iop32x.h,
and change the machine code to no longer reference those.

The DMA0_ID/DMA1_ID/AAU_ID macros are required as part of the
platform data interface and still need to be visible, so move
those from one header to the other.

Link: https://lore.kernel.org/r/20190809163334.489360-4-arnd@arndb.de
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/include/asm/hardware/iop3xx-adma.h [deleted file]
arch/arm/include/asm/hardware/iop_adma.h [deleted file]
arch/arm/mach-iop32x/include/mach/adma.h [deleted file]
arch/arm/plat-iop/adma.c
drivers/dma/Kconfig
drivers/dma/iop-adma.c
drivers/dma/iop-adma.h [new file with mode: 0644]
include/linux/platform_data/dma-iop32x.h [new file with mode: 0644]