aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/debug-devices.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2012-10-30 10:44:00 -0700
committerTony Lindgren <tony@atomide.com>2012-10-31 15:37:13 -0700
commit32dee01e67e0d14e86708c4ca6c5a9f4f81d5144 (patch)
tree2ea0e7002b2dd8fb36cfceb07bb94a018fdff8fc /arch/arm/plat-omap/debug-devices.c
parentARM: OMAP: Remove plat-omap/common.h (diff)
downloadlinux-dev-32dee01e67e0d14e86708c4ca6c5a9f4f81d5144.tar.xz
linux-dev-32dee01e67e0d14e86708c4ca6c5a9f4f81d5144.zip
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 <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/plat-omap/debug-devices.c')
-rw-r--r--arch/arm/plat-omap/debug-devices.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/debug-devices.c b/arch/arm/plat-omap/debug-devices.c
index 5a4678edd65a..b49be51202ee 100644
--- a/arch/arm/plat-omap/debug-devices.c
+++ b/arch/arm/plat-omap/debug-devices.c
@@ -16,7 +16,7 @@
#include <linux/smc91x.h>
#include <mach/hardware.h>
-#include "../mach-omap2/debug-devices.h"
+#include <plat/debug-devices.h>
/* Many OMAP development platforms reuse the same "debug board"; these
* platforms include H2, H3, H4, and Perseus2.