aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorIgor Grinberg <grinberg@compulab.co.il>2012-08-28 19:18:56 -0400
committerTony Lindgren <tony@atomide.com>2012-09-10 19:39:20 -0400
commit801475ccb2b2c1928b22aec4b9e5285d9e347602 (patch)
treebf08d6fd4e7913d14f3d963510c456cd724ee3ae /arch
parentad6c9101c7949fd7c6a567e3faae94aaa044cd17 (diff)
ARM: OMAP: move debug_card_init() function
debug_card_init() function resides in the plat/board.h file. Move it to a separate header file under plat/ so the board.h file can be removed. Signed-off-by: Igor Grinberg <grinberg@compulab.co.il> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-omap2/board-h4.c2
-rw-r--r--arch/arm/plat-omap/include/plat/board.h5
-rw-r--r--arch/arm/plat-omap/include/plat/debug-devices.h9
3 files changed, 10 insertions, 6 deletions
diff --git a/arch/arm/mach-omap2/board-h4.c b/arch/arm/mach-omap2/board-h4.c
index ace20482e3e1..5be30e6dd4cb 100644
--- a/arch/arm/mach-omap2/board-h4.c
+++ b/arch/arm/mach-omap2/board-h4.c
@@ -32,11 +32,11 @@
32#include <asm/mach/arch.h> 32#include <asm/mach/arch.h>
33#include <asm/mach/map.h> 33#include <asm/mach/map.h>
34 34
35#include <plat/board.h>
36#include "common.h" 35#include "common.h"
37#include <plat/menelaus.h> 36#include <plat/menelaus.h>
38#include <plat/dma.h> 37#include <plat/dma.h>
39#include <plat/gpmc.h> 38#include <plat/gpmc.h>
39#include <plat/debug-devices.h>
40 40
41#include <video/omapdss.h> 41#include <video/omapdss.h>
42#include <video/omap-panel-generic-dpi.h> 42#include <video/omap-panel-generic-dpi.h>
diff --git a/arch/arm/plat-omap/include/plat/board.h b/arch/arm/plat-omap/include/plat/board.h
index 2ddc198b0920..d92f1b532f69 100644
--- a/arch/arm/plat-omap/include/plat/board.h
+++ b/arch/arm/plat-omap/include/plat/board.h
@@ -10,9 +10,4 @@
10#ifndef _OMAP_BOARD_H 10#ifndef _OMAP_BOARD_H
11#define _OMAP_BOARD_H 11#define _OMAP_BOARD_H
12 12
13#include <linux/types.h>
14
15/* for TI reference platforms sharing the same debug card */
16extern int debug_card_init(u32 addr, unsigned gpio);
17
18#endif 13#endif
diff --git a/arch/arm/plat-omap/include/plat/debug-devices.h b/arch/arm/plat-omap/include/plat/debug-devices.h
new file mode 100644
index 000000000000..a4edbd2f7484
--- /dev/null
+++ b/arch/arm/plat-omap/include/plat/debug-devices.h
@@ -0,0 +1,9 @@
1#ifndef _OMAP_DEBUG_DEVICES_H
2#define _OMAP_DEBUG_DEVICES_H
3
4#include <linux/types.h>
5
6/* for TI reference platforms sharing the same debug card */
7extern int debug_card_init(u32 addr, unsigned gpio);
8
9#endif