aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-4430sdp.c
diff options
context:
space:
mode:
authorSantosh Shilimkar <santosh.shilimkar@ti.com>2011-05-30 03:11:45 -0400
committerTony Lindgren <tony@atomide.com>2011-05-31 09:17:02 -0400
commit89c4705ed58a9e6faa7649eb561aead79bb77b3f (patch)
treebc491ff3fe66dcd47fee96f7b6ca54bb7ce4b968 /arch/arm/mach-omap2/board-4430sdp.c
parentf9fa1bb9d7a3c9537d6abd4ad47c58fe27862625 (diff)
OMAP2+: Fix 9 section mismatch(es) warnings from mach-omap2/built-in.o
The serial*_data should have been marked as __initdata as per it's usage in the board files. Fix the same to remove the section mismatch warnings caused by it. Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Signed-off-by: Silesh C V <silesh@ti.com> [tony@atomide.com: updated with additional fixes from Silesh] Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-4430sdp.c')
-rw-r--r--arch/arm/mach-omap2/board-4430sdp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board-4430sdp.c
index 73fa90bb6953..56983e80b4df 100644
--- a/arch/arm/mach-omap2/board-4430sdp.c
+++ b/arch/arm/mach-omap2/board-4430sdp.c
@@ -258,7 +258,7 @@ static struct gpio sdp4430_eth_gpios[] __initdata = {
258 { ETH_KS8851_IRQ, GPIOF_IN, "eth_irq" }, 258 { ETH_KS8851_IRQ, GPIOF_IN, "eth_irq" },
259}; 259};
260 260
261static int omap_ethernet_init(void) 261static int __init omap_ethernet_init(void)
262{ 262{
263 int status; 263 int status;
264 264
@@ -681,19 +681,19 @@ static struct omap_device_pad serial4_pads[] __initdata = {
681 OMAP_PIN_OUTPUT | OMAP_MUX_MODE0), 681 OMAP_PIN_OUTPUT | OMAP_MUX_MODE0),
682}; 682};
683 683
684static struct omap_board_data serial2_data = { 684static struct omap_board_data serial2_data __initdata = {
685 .id = 1, 685 .id = 1,
686 .pads = serial2_pads, 686 .pads = serial2_pads,
687 .pads_cnt = ARRAY_SIZE(serial2_pads), 687 .pads_cnt = ARRAY_SIZE(serial2_pads),
688}; 688};
689 689
690static struct omap_board_data serial3_data = { 690static struct omap_board_data serial3_data __initdata = {
691 .id = 2, 691 .id = 2,
692 .pads = serial3_pads, 692 .pads = serial3_pads,
693 .pads_cnt = ARRAY_SIZE(serial3_pads), 693 .pads_cnt = ARRAY_SIZE(serial3_pads),
694}; 694};
695 695
696static struct omap_board_data serial4_data = { 696static struct omap_board_data serial4_data __initdata = {
697 .id = 3, 697 .id = 3,
698 .pads = serial4_pads, 698 .pads = serial4_pads,
699 .pads_cnt = ARRAY_SIZE(serial4_pads), 699 .pads_cnt = ARRAY_SIZE(serial4_pads),