Skip to content

Commit

Permalink
ARM: OMAP: move debug_card_init() function
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Igor Grinberg authored and Tony Lindgren committed Sep 10, 2012
1 parent ad6c910 commit 801475c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion arch/arm/mach-omap2/board-h4.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
#include <asm/mach/arch.h>
#include <asm/mach/map.h>

#include <plat/board.h>
#include "common.h"
#include <plat/menelaus.h>
#include <plat/dma.h>
#include <plat/gpmc.h>
#include <plat/debug-devices.h>

#include <video/omapdss.h>
#include <video/omap-panel-generic-dpi.h>
Expand Down
5 changes: 0 additions & 5 deletions arch/arm/plat-omap/include/plat/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
9 changes: 9 additions & 0 deletions arch/arm/plat-omap/include/plat/debug-devices.h
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 801475c

Please sign in to comment.