From 49c93de6ccfd48eed0064cdec17ad77d9842d624 Mon Sep 17 00:00:00 2001
From: Amit Kucheria <amit.kucheria@canonical.com>
Date: Wed, 1 Jul 2009 14:32:28 +0300
Subject: [PATCH 195/195] TWL4030: RX51: Mark board data as __initdata
Mark rx51 board data as __initdata so that compiling with
CONFIG_DEBUG_SECTION_MISMATCH=y will not throw warnings.
Signed-off-by: Amit Kucheria <amit.kucheria@verdurent.com>
---
arch/arm/mach-omap2/board-rx51-peripherals.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
@@ -367,7 +367,7 @@ static struct twl4030_script *twl4030_scripts[] __initdata = {
&wrst_script,
};
-static struct twl4030_resconfig twl4030_rconfig[] = {
+static struct twl4030_resconfig twl4030_rconfig[] __initdata = {
{ .resource = RES_VINTANA1, .devgroup = -1, .type = -1, .type2 = 1 },
{ .resource = RES_VINTANA2, .devgroup = -1, .type = -1, .type2 = 1 },
{ .resource = RES_VINTDIG, .devgroup = -1, .type = -1, .type2 = 1 },
@@ -387,7 +387,7 @@ static struct twl4030_resconfig twl4030_rconfig[] = {
{ 0, 0},
};
-static struct twl4030_power_data rx51_t2scripts_data = {
+static struct twl4030_power_data rx51_t2scripts_data __initdata = {
.scripts = twl4030_scripts,
.size = ARRAY_SIZE(twl4030_scripts),
.resource_config = twl4030_rconfig,
@@ -395,7 +395,7 @@ static struct twl4030_power_data rx51_t2scripts_data = {
-static struct twl4030_platform_data rx51_twldata = {
+static struct twl4030_platform_data rx51_twldata __initdata = {
.irq_base = TWL4030_IRQ_BASE,
.irq_end = TWL4030_IRQ_END,
--
1.6.3.3