mtd: nand: omap: Clean up device tree support
[cascardo/linux.git] / include / linux / platform_data / mtd-nand-omap2.h
index 16ec262..ff27e5a 100644 (file)
@@ -71,13 +71,15 @@ struct omap_nand_platform_data {
        struct mtd_partition    *parts;
        int                     nr_parts;
        bool                    dev_ready;
+       bool                    flash_bbt;
        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