summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/mtd-nand-omap2.h
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@ti.com>2014-05-21 07:29:03 +0300
committerRoger Quadros <rogerq@ti.com>2016-04-15 11:53:36 +0300
commitc9711ec5250b22fd94e9b34c17c095e001a90e66 (patch)
treea923d4d2a25293a60443e6a8d6b7f453daec1bb1 /include/linux/platform_data/mtd-nand-omap2.h
parent01b95fc6b299b99075b8980371fc19b980236c32 (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/platform_data/mtd-nand-omap2.h')
-rw-r--r--include/linux/platform_data/mtd-nand-omap2.h3
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 {
int devsize;
enum omap_ecc ecc_opt;
- /* for passing the partitions */
- struct device_node *of_node;
struct device_node *elm_of_node;
/* deprecated */
struct gpmc_nand_regs reg;
+ struct device_node *of_node;
};
#endif