aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/serial.c
diff options
context:
space:
mode:
authorTony Lindgren <[email protected]>2012-11-30 08:41:50 -0800
committerTony Lindgren <[email protected]>2012-11-30 08:41:50 -0800
commit45c3eb7d3a07eb08d1b5b0f5983a996d41610b84 (patch)
tree8b7f62cfbeb1078ea88e8f111fc00ebd5acf4586 /arch/arm/mach-omap2/serial.c
parent6300ebe9fe9a9355060119b83564e81efa5f1fa6 (diff)
ARM: OMAP: Move plat-omap/dma-omap.h to include/linux/omap-dma.h
Based on earlier discussions[1] we attempted to find a suitable location for the omap DMA header in commit 2b6c4e73 (ARM: OMAP: DMA: Move plat/dma.h to plat-omap/dma-omap.h) until the conversion to dmaengine is complete. Unfortunately that was before I was able to try to test compile of the ARM multiplatform builds for omap2+, and the end result was not very good. So I'm creating yet another all over the place patch to cut the last dependency for building omap2+ for ARM multiplatform. After this, we have finally removed the driver dependencies to the arch/arm code, except for few drivers that are being worked on. The other option was to make the <plat-omap/dma-omap.h> path to work, but we'd have to add some new header directory to for multiplatform builds. Or we would have to manually include arch/arm/plat-omap/include again from arch/arm/Makefile for omap2+. Neither of these alternatives sound appealing as they will likely lead addition of various other headers exposed to the drivers, which we want to avoid for the multiplatform kernels. Since we already have a minimal include/linux/omap-dma.h, let's just use that instead and add a note to it to not use the custom omap DMA functions any longer where possible. Note that converting omap DMA to dmaengine depends on dmaengine supporting automatically incrementing the FIFO address at the device end, and converting all the remaining legacy drivers. So it's going to be few more merge windows. [1] https://patchwork.kernel.org/patch/1519591/# cc: Russell King <[email protected]> cc: Kevin Hilman <[email protected]> cc: "BenoĆ®t Cousson" <[email protected]> cc: Herbert Xu <[email protected]> cc: "David S. Miller" <[email protected]> cc: Vinod Koul <[email protected]> cc: Dan Williams <[email protected]> cc: Mauro Carvalho Chehab <[email protected]> cc: Laurent Pinchart <[email protected]> cc: Guennadi Liakhovetski <[email protected]> cc: David Woodhouse <[email protected]> cc: Kyungmin Park <[email protected]> cc: Greg Kroah-Hartman <[email protected]> cc: Tomi Valkeinen <[email protected]> cc: Florian Tobias Schandinat <[email protected]> cc: Hans Verkuil <[email protected]> cc: Vaibhav Hiremath <[email protected]> cc: Lokesh Vutla <[email protected]> cc: Rusty Russell <[email protected]> cc: Artem Bityutskiy <[email protected]> cc: Afzal Mohammed <[email protected]> cc: [email protected] cc: [email protected] cc: [email protected] cc: [email protected] cc: [email protected] Acked-by: Felipe Balbi <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
Diffstat (limited to 'arch/arm/mach-omap2/serial.c')
-rw-r--r--arch/arm/mach-omap2/serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c
index aa30a3c20883..93d102535c85 100644
--- a/arch/arm/mach-omap2/serial.c
+++ b/arch/arm/mach-omap2/serial.c
@@ -26,9 +26,9 @@
#include <linux/slab.h>
#include <linux/pm_runtime.h>
#include <linux/console.h>
+#include <linux/omap-dma.h>
#include <plat/omap-serial.h>
-#include <plat-omap/dma-omap.h>
#include "common.h"
#include "omap_hwmod.h"