mtd: nand: omap: Use gpmc_omap_get_nand_ops() to get NAND registers
[sfrench/cifs-2.6.git] / include / linux / platform_data / mtd-nand-omap2.h
index 090bbab0130a3d31b226b8fce8b50f9f6b231be9..a067f581e9382eebd8107f55db3514a50adac366 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