mtd: nand: omap: Use gpmc_omap_get_nand_ops() to get NAND registers
[cascardo/linux.git] / include / linux / platform_data / mtd-nand-omap2.h
index 090bbab..a067f58 100644 (file)
@@ -75,10 +75,12 @@ 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;
 };
 #endif