ARM: omap1: move plat/dma.c to mach/omap-dma.c
authorArnd Bergmann <arnd@arndb.de>
Fri, 27 Nov 2020 13:05:55 +0000 (14:05 +0100)
committerArnd Bergmann <arnd@arndb.de>
Fri, 22 Apr 2022 09:08:55 +0000 (11:08 +0200)
commit16630718ee467cda33fc3f410a84bcaf909c1fa1
tree2c0a6dc0ed9c091025250e3d172a99cb1ea0c4bf
parent19491c2215f638c9198b9b33e227aeccf76b22b8
ARM: omap1: move plat/dma.c to mach/omap-dma.c

Most of the interface functions in plat/dma.c are only used from the
USB driver, which is practically OMAP1 specific, except for compile
testing.

The omap_get_plat_info(), omap_request_dma() and omap_free_dma()
functions are never called on omap2 because of runtime checks.

Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-omap1/Makefile
arch/arm/mach-omap1/omap-dma.c [moved from arch/arm/plat-omap/dma.c with 100% similarity]
arch/arm/plat-omap/Makefile