diff options
author | Roger Quadros <rogerq@ti.com> | 2015-08-05 07:01:50 -0400 |
---|---|---|
committer | Roger Quadros <rogerq@ti.com> | 2016-04-15 04:53:02 -0400 |
commit | c509aefd75d026f4ef4aa306131d7a780c2eda7b (patch) | |
tree | 636a95c2313b28064007ac7bddeef3f65e2dc5ef /include/linux | |
parent | 384258f252727c67772bbd48dad3185a30ba50d3 (diff) |
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')
-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 { | |||
75 | enum nand_io xfer_type; | 75 | enum nand_io xfer_type; |
76 | int devsize; | 76 | int devsize; |
77 | enum omap_ecc ecc_opt; | 77 | enum omap_ecc ecc_opt; |
78 | struct gpmc_nand_regs reg; | ||
79 | 78 | ||
80 | /* for passing the partitions */ | 79 | /* for passing the partitions */ |
81 | struct device_node *of_node; | 80 | struct device_node *of_node; |
82 | struct device_node *elm_of_node; | 81 | struct device_node *elm_of_node; |
82 | |||
83 | /* deprecated */ | ||
84 | struct gpmc_nand_regs reg; | ||
83 | }; | 85 | }; |
84 | #endif | 86 | #endif |