As driver is now configured using DT, omap_nand_platform_data structure is no longer needed.
Showing the changes to include/linux/platform_data (1 of 2 files). Show all
Unified · Split
| @@ -66,21 +66,4 @@ struct gpmc_nand_regs { · 65 unmodified lines | ||
| 66 | 66 | /* Deprecated. Do not use */ |
| 67 | 67 | void __iomem *gpmc_status; |
| 68 | 68 | }; |
| 69 | − | |
| 70 | −struct omap_nand_platform_data { | |
| 71 | − int cs; | |
| 72 | − struct mtd_partition *parts; | |
| 73 | − int nr_parts; | |
| 74 | − bool flash_bbt; | |
| 75 | − enum nand_io xfer_type; | |
| 76 | − int devsize; | |
| 77 | − enum omap_ecc ecc_opt; | |
| 78 | − | |
| 79 | − struct device_node *elm_of_node; | |
| 80 | − | |
| 81 | − /* deprecated */ | |
| 82 | − struct gpmc_nand_regs reg; | |
| 83 | − struct device_node *of_node; | |
| 84 | − bool dev_ready; | |
| 85 | −}; | |
| 86 | 69 | #endif |