diff options
author | Roger Quadros <rogerq@ti.com> | 2014-05-21 07:29:03 +0300 |
---|---|---|
committer | Roger Quadros <rogerq@ti.com> | 2016-04-15 11:53:36 +0300 |
commit | c9711ec5250b22fd94e9b34c17c095e001a90e66 (patch) | |
tree | a923d4d2a25293a60443e6a8d6b7f453daec1bb1 /include/linux/platform_data/mtd-nand-omap2.h | |
parent | 01b95fc6b299b99075b8980371fc19b980236c32 (diff) | |
download | op-kernel-dev-c9711ec5250b22fd94e9b34c17c095e001a90e66.zip op-kernel-dev-c9711ec5250b22fd94e9b34c17c095e001a90e66.tar.gz |
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.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 a067f58..ff27e5a 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 |