From 32dee01e67e0d14e86708c4ca6c5a9f4f81d5144 Mon Sep 17 00:00:00 2001 From: Tony Lindgren Date: Tue, 30 Oct 2012 10:44:00 -0700 Subject: [PATCH] ARM: OMAP: Fix relative includes for debug-devices.h As discussed on linux-arm-kernel, we want to avoid relative includes for the arch/arm/*omap* shared code: http://www.spinics.net/lists/linux-omap/msg80520.html Let's add plat/debug-devices.h for debug_card_init() to fix the relative includes. Note that drivers must not use this header as it will break build for omap2+ CONFIG_MULTIPLATFORM builds. Cc: Paul Walmsley Signed-off-by: Tony Lindgren --- arch/arm/mach-omap2/board-h4.c | 2 +- arch/arm/plat-omap/debug-devices.c | 2 +- arch/arm/{mach-omap2 => plat-omap/include/plat}/debug-devices.h | 7 ------- 3 files changed, 2 insertions(+), 9 deletions(-) rename arch/arm/{mach-omap2 => plat-omap/include/plat}/debug-devices.h (54%) diff --git a/arch/arm/mach-omap2/board-h4.c b/arch/arm/mach-omap2/board-h4.c index bd11b0aa9495..8668c72ee810 100644 --- a/arch/arm/mach-omap2/board-h4.c +++ b/arch/arm/mach-omap2/board-h4.c @@ -33,7 +33,7 @@ #include #include -#include "debug-devices.h" +#include #include