OSDN Git Service

ARM: OMAP: Fix relative includes for debug-devices.h
authorTony Lindgren <tony@atomide.com>
Tue, 30 Oct 2012 17:44:00 +0000 (10:44 -0700)
committerTony Lindgren <tony@atomide.com>
Wed, 31 Oct 2012 22:37:13 +0000 (15:37 -0700)
commit32dee01e67e0d14e86708c4ca6c5a9f4f81d5144
tree2ea0e7002b2dd8fb36cfceb07bb94a018fdff8fc
parent5c2e88525b5f1cdc72c9eefba72dae13be7e5d20
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>
arch/arm/mach-omap2/board-h4.c
arch/arm/plat-omap/debug-devices.c
arch/arm/plat-omap/include/plat/debug-devices.h [moved from arch/arm/mach-omap2/debug-devices.h with 54% similarity]