arm: tegra: remove __initdata keyword for nvmap_device
Krishna Reddy [Mon, 22 Apr 2013 23:28:11 +0000 (16:28 -0700)]
nvmap_device was incorrectly marked as __initdata during
dalmore board files creation and it got carried forward to
boards that are created later onwards.
Bug 1247591

Change-Id: Id1f87b3d75e59d4846ee1227fee4ba0ff389007c
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/221754
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Kaz Fukuoka <kfukuoka@nvidia.com>
GVS: Gerrit_Virtual_Submit

arch/arm/mach-tegra/board-dalmore-panel.c
arch/arm/mach-tegra/board-macallan-panel.c
arch/arm/mach-tegra/board-pismo-panel.c
arch/arm/mach-tegra/board-pluto-panel.c
arch/arm/mach-tegra/board-roth-panel.c

index 1c3f692..0fedbc0 100644 (file)
@@ -324,7 +324,7 @@ static struct nvmap_platform_data dalmore_nvmap_data = {
        .carveouts      = dalmore_carveouts,
        .nr_carveouts   = ARRAY_SIZE(dalmore_carveouts),
 };
-static struct platform_device dalmore_nvmap_device __initdata = {
+static struct platform_device dalmore_nvmap_device = {
        .name   = "tegra-nvmap",
        .id     = -1,
        .dev    = {
index ae3716f..aadd2a2 100644 (file)
@@ -324,7 +324,7 @@ static struct nvmap_platform_data macallan_nvmap_data = {
        .carveouts      = macallan_carveouts,
        .nr_carveouts   = ARRAY_SIZE(macallan_carveouts),
 };
-static struct platform_device macallan_nvmap_device __initdata = {
+static struct platform_device macallan_nvmap_device = {
        .name   = "tegra-nvmap",
        .id     = -1,
        .dev    = {
index 036c7b5..b981a50 100644 (file)
@@ -324,7 +324,7 @@ static struct nvmap_platform_data pismo_nvmap_data = {
        .carveouts      = pismo_carveouts,
        .nr_carveouts   = ARRAY_SIZE(pismo_carveouts),
 };
-static struct platform_device pismo_nvmap_device __initdata = {
+static struct platform_device pismo_nvmap_device = {
        .name   = "tegra-nvmap",
        .id     = -1,
        .dev    = {
index 2740a32..bdcb1ce 100644 (file)
@@ -279,7 +279,7 @@ static struct nvmap_platform_data pluto_nvmap_data = {
        .nr_carveouts   = ARRAY_SIZE(pluto_carveouts),
 };
 
-static struct platform_device pluto_nvmap_device __initdata = {
+static struct platform_device pluto_nvmap_device = {
        .name   = "tegra-nvmap",
        .id     = -1,
        .dev    = {
index 8f0fccb..551513f 100644 (file)
@@ -626,7 +626,7 @@ static struct nvmap_platform_data roth_nvmap_data = {
        .nr_carveouts   = ARRAY_SIZE(roth_carveouts),
 };
 
-static struct platform_device roth_nvmap_device __initdata = {
+static struct platform_device roth_nvmap_device = {
        .name   = "tegra-nvmap",
        .id     = -1,
        .dev    = {