diff options
| author | Ladislav Michl <ladis@linux-mips.org> | 2017-10-10 08:38:07 -0400 |
|---|---|---|
| committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2017-10-14 09:18:17 -0400 |
| commit | 086c321ec57bfda5b15f3553e7def33302955852 (patch) | |
| tree | 110e5054975285dc708fd1bdc8276c723eb960a1 /include/linux/platform_data | |
| parent | 1533bfa6f6b6bcca1ea1f172ef4a1c5ce5e7b335 (diff) | |
mtd: nand: omap2: Remove omap_nand_platform_data
As driver is now configured using DT, omap_nand_platform_data structure
is no longer needed.
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Acked-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/mtd-nand-omap2.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/include/linux/platform_data/mtd-nand-omap2.h b/include/linux/platform_data/mtd-nand-omap2.h index 17d57a18bac5..8b8b124e8aea 100644 --- a/include/linux/platform_data/mtd-nand-omap2.h +++ b/include/linux/platform_data/mtd-nand-omap2.h | |||
| @@ -66,21 +66,4 @@ struct gpmc_nand_regs { | |||
| 66 | /* Deprecated. Do not use */ | 66 | /* Deprecated. Do not use */ |
| 67 | void __iomem *gpmc_status; | 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 | #endif | 69 | #endif |
