From: Arnd Bergmann Date: Fri, 27 Nov 2020 13:05:55 +0000 (+0100) Subject: ARM: omap1: move plat/dma.c to mach/omap-dma.c X-Git-Tag: v6.1-rc5~1256^2~10^2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=16630718ee467cda33fc3f410a84bcaf909c1fa1;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Arnd Bergmann --- diff --git a/arch/arm/mach-omap1/Makefile b/arch/arm/mach-omap1/Makefile index 450bbf5..0615cb0 100644 --- a/arch/arm/mach-omap1/Makefile +++ b/arch/arm/mach-omap1/Makefile @@ -5,7 +5,7 @@ # Common support obj-y := io.o id.o sram-init.o sram.o time.o irq.o mux.o flash.o \ - serial.o devices.o dma.o fb.o + serial.o devices.o dma.o omap-dma.o fb.o obj-y += clock.o clock_data.o opp_data.o reset.o pm_bus.o timer.o ifneq ($(CONFIG_SND_SOC_OMAP_MCBSP),) diff --git a/arch/arm/plat-omap/dma.c b/arch/arm/mach-omap1/omap-dma.c similarity index 100% rename from arch/arm/plat-omap/dma.c rename to arch/arm/mach-omap1/omap-dma.c diff --git a/arch/arm/plat-omap/Makefile b/arch/arm/plat-omap/Makefile index 68ccec9..5d55295 100644 --- a/arch/arm/plat-omap/Makefile +++ b/arch/arm/plat-omap/Makefile @@ -6,4 +6,4 @@ ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/arch/arm/plat-omap/include # Common support -obj-y := sram.o dma.o +obj-y := sram.o