diff options
author | Tony Lindgren <tony@atomide.com> | 2012-10-30 10:44:00 -0700 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-10-31 15:37:13 -0700 |
commit | 32dee01e67e0d14e86708c4ca6c5a9f4f81d5144 (patch) | |
tree | 2ea0e7002b2dd8fb36cfceb07bb94a018fdff8fc /arch/arm/mach-omap2 | |
parent | 5c2e88525b5f1cdc72c9eefba72dae13be7e5d20 (diff) | |
download | blackbird-op-linux-32dee01e67e0d14e86708c4ca6c5a9f4f81d5144.tar.gz blackbird-op-linux-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/mach-omap2')
-rw-r--r-- | arch/arm/mach-omap2/board-h4.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/debug-devices.h | 9 |
2 files changed, 1 insertions, 10 deletions
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 <asm/mach/map.h> #include <plat-omap/dma-omap.h> -#include "debug-devices.h" +#include <plat/debug-devices.h> #include <video/omapdss.h> #include <video/omap-panel-generic-dpi.h> diff --git a/arch/arm/mach-omap2/debug-devices.h b/arch/arm/mach-omap2/debug-devices.h deleted file mode 100644 index a4edbd2f7484..000000000000 --- a/arch/arm/mach-omap2/debug-devices.h +++ /dev/null @@ -1,9 +0,0 @@ -#ifndef _OMAP_DEBUG_DEVICES_H -#define _OMAP_DEBUG_DEVICES_H - -#include <linux/types.h> - -/* for TI reference platforms sharing the same debug card */ -extern int debug_card_init(u32 addr, unsigned gpio); - -#endif |