diff options
author | Igor Grinberg <grinberg@compulab.co.il> | 2012-08-29 02:18:56 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-09-10 16:39:20 -0700 |
commit | 801475ccb2b2c1928b22aec4b9e5285d9e347602 (patch) | |
tree | bf08d6fd4e7913d14f3d963510c456cd724ee3ae /arch/arm/plat-omap | |
parent | ad6c9101c7949fd7c6a567e3faae94aaa044cd17 (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/arm/plat-omap')
-rw-r--r-- | arch/arm/plat-omap/include/plat/board.h | 5 | ||||
-rw-r--r-- | arch/arm/plat-omap/include/plat/debug-devices.h | 9 |
2 files changed, 9 insertions, 5 deletions
diff --git a/arch/arm/plat-omap/include/plat/board.h b/arch/arm/plat-omap/include/plat/board.h index 2ddc198b092..d92f1b532f6 100644 --- a/arch/arm/plat-omap/include/plat/board.h +++ b/arch/arm/plat-omap/include/plat/board.h @@ -10,9 +10,4 @@ #ifndef _OMAP_BOARD_H #define _OMAP_BOARD_H -#include <linux/types.h> - -/* for TI reference platforms sharing the same debug card */ -extern int debug_card_init(u32 addr, unsigned gpio); - #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 00000000000..a4edbd2f748 --- /dev/null +++ b/arch/arm/plat-omap/include/plat/debug-devices.h @@ -0,0 +1,9 @@ +#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 |