aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-msm/board-qsd8x50.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2010-12-20 18:00:17 -0500
committerDavid Brown <davidb@codeaurora.org>2010-12-20 18:13:49 -0500
commit7c63dedcc52c8c1253b1deec387102ef788ed0b4 (patch)
treed510da63c81f6422a8dd5af707ddb188befa1b5f /arch/arm/mach-msm/board-qsd8x50.c
parent50bc0ef42c76879f5d68a88c7063603dc0c9789b (diff)
msm: qsd8x50: Platform data isn't init data
Remove the SMC91x platform and resource data from initdata. These will continue to be accessed after init, and must remain available. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: David Brown <davidb@codeaurora.org>
Diffstat (limited to 'arch/arm/mach-msm/board-qsd8x50.c')
-rw-r--r--arch/arm/mach-msm/board-qsd8x50.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-msm/board-qsd8x50.c b/arch/arm/mach-msm/board-qsd8x50.c
index ed2af4ad97ed..39925c1a819d 100644
--- a/arch/arm/mach-msm/board-qsd8x50.c
+++ b/arch/arm/mach-msm/board-qsd8x50.c
@@ -42,7 +42,7 @@ static const unsigned qsd8x50_surf_smc91x_gpio __initdata = 156;
42 * at run-time: they vary from board to board, and the true 42 * at run-time: they vary from board to board, and the true
43 * configuration won't be known until boot. 43 * configuration won't be known until boot.
44 */ 44 */
45static struct resource smc91x_resources[] __initdata = { 45static struct resource smc91x_resources[] = {
46 [0] = { 46 [0] = {
47 .flags = IORESOURCE_MEM, 47 .flags = IORESOURCE_MEM,
48 }, 48 },
@@ -51,7 +51,7 @@ static struct resource smc91x_resources[] __initdata = {
51 }, 51 },
52}; 52};
53 53
54static struct platform_device smc91x_device __initdata = { 54static struct platform_device smc91x_device = {
55 .name = "smc91x", 55 .name = "smc91x",
56 .id = 0, 56 .id = 0,
57 .num_resources = ARRAY_SIZE(smc91x_resources), 57 .num_resources = ARRAY_SIZE(smc91x_resources),