diff options
author | Brian Norris | 2015-10-31 04:33:30 +0100 |
---|---|---|
committer | Brian Norris | 2015-11-11 22:59:08 +0100 |
commit | 8361a9b8cb6a9c71b7cf884a87b2532d8367c185 (patch) | |
tree | 6a12ac9aeeae59b3bbd77ee3185a357708d4e1d5 /drivers/mtd/nand/nand_base.c | |
parent | mtd: ofpart: drop 'of_node' partition parser data (diff) | |
download | kernel-qcow2-linux-8361a9b8cb6a9c71b7cf884a87b2532d8367c185.tar.gz kernel-qcow2-linux-8361a9b8cb6a9c71b7cf884a87b2532d8367c185.tar.xz kernel-qcow2-linux-8361a9b8cb6a9c71b7cf884a87b2532d8367c185.zip |
mtd: physmap_of: assign parent for the concatenated MTD
If there is more than one map region for this device, then the
concatenated MTD will not have a parent device assigned to it -- only
the sub-devices (which are not actually registered with the framework)
will have their parents assigned. Let's assign the concatenated device
correctly.
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Reviewed-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'drivers/mtd/nand/nand_base.c')
0 files changed, 0 insertions, 0 deletions