ARM: LPC32xx: Fixed structures improperly tagged with __init
[linux-2.6.34-lpc32xx.git] / arch / arm / mach-lpc32xx / ea3250.c
index 00ecc9c..2256ab4 100644 (file)
@@ -622,7 +622,7 @@ static int nandwp_enable(int enable)
         return 1;
 }
 #define BLK_SIZE (2048 * 64)
-static struct mtd_partition __initdata ea3250_nand_partition[] = {
+static struct mtd_partition ea3250_nand_partition[] = {
         {
                 .name   = "ea3250-boot",
                 .offset = 0,
@@ -645,12 +645,12 @@ static struct mtd_partition __initdata ea3250_nand_partition[] = {
                 .size   = MTDPART_SIZ_FULL
         },
 };
-static struct mtd_partition * __init ea3250_nand_partitions(int size, int *num_partitions)
+static struct mtd_partition * ea3250_nand_partitions(int size, int *num_partitions)
 {
         *num_partitions = ARRAY_SIZE(ea3250_nand_partition);
         return ea3250_nand_partition;
 }
-struct lpc32XX_nand_cfg __initdata lpc32xx_nandcfg =
+struct lpc32XX_nand_cfg lpc32xx_nandcfg =
 {
         .wdr_clks               = 14,
         .wwidth                 = 260000000,
@@ -684,7 +684,7 @@ static struct resource slc_nand_resources[] = {
 };
 
 static u64 lpc32xx_slc_dma_mask = 0xffffffffUL;
-static struct platform_device __initdata lpc32xx_slc_nand_device = {
+static struct platform_device lpc32xx_slc_nand_device = {
         .name           = "lpc32xx-nand",
         .id             = 0,
         .dev            = {