summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-zoom2.c
diff options
context:
space:
mode:
authorvikram pandita <vikram.pandita@ti.com>2009-11-22 10:11:31 -0800
committerTony Lindgren <tony@atomide.com>2009-11-22 10:24:33 -0800
commit62d0b336d4b00bde6e3f0f155009975351823c54 (patch)
treef87c833df77d24b805589c7a6558d1890d5654aa /arch/arm/mach-omap2/board-zoom2.c
parent479f12c9e2743084ace94d8c65b98ec536cae3cf (diff)
downloadblackbird-op-linux-62d0b336d4b00bde6e3f0f155009975351823c54.tar.gz
blackbird-op-linux-62d0b336d4b00bde6e3f0f155009975351823c54.zip
omap3: zoom: rename zoom2 name to generic zoom
Replace zoom2 with zoom name in board-zoom-peripherals.c file and board-zoom-debugboard.c. Create mach/board-zoom.h. This file has functions reused for boards: Zoom2/Zoom3/sdp3630. Hence have all functions commonly named as zoom Signed-off-by: Vikram Pandita <vikram.pandita@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-zoom2.c')
-rw-r--r--arch/arm/mach-omap2/board-zoom2.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/board-zoom2.c b/arch/arm/mach-omap2/board-zoom2.c
index 31d485b6859f..2f980e36ebfd 100644
--- a/arch/arm/mach-omap2/board-zoom2.c
+++ b/arch/arm/mach-omap2/board-zoom2.c
@@ -21,6 +21,8 @@
#include <plat/common.h>
#include <plat/board.h>
+#include <mach/board-zoom.h>
+
#include "sdram-micron-mt46h32m32lf-6.h"
static void __init omap_zoom2_init_irq(void)
@@ -56,13 +58,10 @@ static struct twl4030_platform_data zoom2_twldata = {
#endif
-extern int __init omap_zoom2_debugboard_init(void);
-extern void __init zoom_peripherals_init(void);
-
static void __init omap_zoom2_init(void)
{
zoom_peripherals_init();
- omap_zoom2_debugboard_init();
+ zoom_debugboard_init();
}
static void __init omap_zoom2_map_io(void)
OpenPOWER on IntegriCloud