aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-zoom2.c
diff options
context:
space:
mode:
authorvikram pandita <vikram.pandita@ti.com>2009-11-22 13:11:31 -0500
committerTony Lindgren <tony@atomide.com>2009-11-22 13:24:33 -0500
commit62d0b336d4b00bde6e3f0f155009975351823c54 (patch)
treef87c833df77d24b805589c7a6558d1890d5654aa /arch/arm/mach-omap2/board-zoom2.c
parent479f12c9e2743084ace94d8c65b98ec536cae3cf (diff)
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 @@
21#include <plat/common.h> 21#include <plat/common.h>
22#include <plat/board.h> 22#include <plat/board.h>
23 23
24#include <mach/board-zoom.h>
25
24#include "sdram-micron-mt46h32m32lf-6.h" 26#include "sdram-micron-mt46h32m32lf-6.h"
25 27
26static void __init omap_zoom2_init_irq(void) 28static void __init omap_zoom2_init_irq(void)
@@ -56,13 +58,10 @@ static struct twl4030_platform_data zoom2_twldata = {
56 58
57#endif 59#endif
58 60
59extern int __init omap_zoom2_debugboard_init(void);
60extern void __init zoom_peripherals_init(void);
61
62static void __init omap_zoom2_init(void) 61static void __init omap_zoom2_init(void)
63{ 62{
64 zoom_peripherals_init(); 63 zoom_peripherals_init();
65 omap_zoom2_debugboard_init(); 64 zoom_debugboard_init();
66} 65}
67 66
68static void __init omap_zoom2_map_io(void) 67static void __init omap_zoom2_map_io(void)