diff options
author | John Crispin <blogic@openwrt.org> | 2012-04-30 19:30:46 +0200 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-05-13 23:16:35 -0500 |
commit | a4f203512be974dbd7425f8f1d3d40720bf36997 (patch) | |
tree | 8e3d0305aa91c69337c1af7eebf4e3f604b55e18 /include/linux/bch.h | |
parent | bb08bc108628493fb45d02da81cd201b6a42391c (diff) | |
download | linux-stable-a4f203512be974dbd7425f8f1d3d40720bf36997.tar.gz linux-stable-a4f203512be974dbd7425f8f1d3d40720bf36997.tar.bz2 linux-stable-a4f203512be974dbd7425f8f1d3d40720bf36997.zip |
OF: MTD: make plat_nand loadable from DT
This patch sets the of_match_table field inside plat_nand's platform_driver.
We also add a struct mtd_part_parser_data pointer to make sure of_part parsing
works.
If an arch wants to support plat_nand via DT it needs to setup the
platform_nand_data and hook it into the platform_device.
Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'include/linux/bch.h')
0 files changed, 0 insertions, 0 deletions