mtd: nand: omap: Clean up device tree support
[cascardo/linux.git] / include / linux / platform_data / mtd-nand-omap2.h
index 090bbab..ff27e5a 100644 (file)
@@ -75,10 +75,11 @@ struct omap_nand_platform_data {
        enum nand_io            xfer_type;
        int                     devsize;
        enum omap_ecc           ecc_opt;
-       struct gpmc_nand_regs   reg;
 
-       /* for passing the partitions */
-       struct device_node      *of_node;
        struct device_node      *elm_of_node;
+
+       /* deprecated */
+       struct gpmc_nand_regs   reg;
+       struct device_node      *of_node;
 };
 #endif