diff options
author | Roger Quadros <rogerq@ti.com> | 2015-08-05 14:01:50 +0300 |
---|---|---|
committer | Roger Quadros <rogerq@ti.com> | 2016-04-15 11:53:02 +0300 |
commit | c509aefd75d026f4ef4aa306131d7a780c2eda7b (patch) | |
tree | 636a95c2313b28064007ac7bddeef3f65e2dc5ef /include/linux/platform_data | |
parent | memory: omap-gpmc: Implement IRQ domain for NAND IRQs (diff) | |
download | linux-dev-c509aefd75d026f4ef4aa306131d7a780c2eda7b.tar.xz linux-dev-c509aefd75d026f4ef4aa306131d7a780c2eda7b.zip |
mtd: nand: omap: Use gpmc_omap_get_nand_ops() to get NAND registers
Deprecate nand register passing via platform data and use
gpmc_omap_get_nand_ops() instead.
Signed-off-by: Roger Quadros <rogerq@ti.com>
Acked-by: Brian Norris <computersforpeace@gmail.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r-- | include/linux/platform_data/mtd-nand-omap2.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/platform_data/mtd-nand-omap2.h b/include/linux/platform_data/mtd-nand-omap2.h index 090bbab0130a..a067f581e938 100644 --- a/include/linux/platform_data/mtd-nand-omap2.h +++ b/include/linux/platform_data/mtd-nand-omap2.h @@ -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 |