diff options
author | Roger Quadros <rogerq@ti.com> | 2014-05-21 00:29:03 -0400 |
---|---|---|
committer | Roger Quadros <rogerq@ti.com> | 2016-04-15 04:53:36 -0400 |
commit | c9711ec5250b22fd94e9b34c17c095e001a90e66 (patch) | |
tree | a923d4d2a25293a60443e6a8d6b7f453daec1bb1 /include/linux | |
parent | 01b95fc6b299b99075b8980371fc19b980236c32 (diff) |
mtd: nand: omap: Clean up device tree support
Move NAND specific device tree parsing to NAND driver.
The NAND controller node must have a compatible id, register space
resource and interrupt resource.
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 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/platform_data/mtd-nand-omap2.h b/include/linux/platform_data/mtd-nand-omap2.h index a067f581e938..ff27e5a77e03 100644 --- a/include/linux/platform_data/mtd-nand-omap2.h +++ b/include/linux/platform_data/mtd-nand-omap2.h | |||
@@ -76,11 +76,10 @@ struct omap_nand_platform_data { | |||
76 | int devsize; | 76 | int devsize; |
77 | enum omap_ecc ecc_opt; | 77 | enum omap_ecc ecc_opt; |
78 | 78 | ||
79 | /* for passing the partitions */ | ||
80 | struct device_node *of_node; | ||
81 | struct device_node *elm_of_node; | 79 | struct device_node *elm_of_node; |
82 | 80 | ||
83 | /* deprecated */ | 81 | /* deprecated */ |
84 | struct gpmc_nand_regs reg; | 82 | struct gpmc_nand_regs reg; |
83 | struct device_node *of_node; | ||
85 | }; | 84 | }; |
86 | #endif | 85 | #endif |