]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
mtd: ofpart: move ofpart partitions to a dedicated dt node
authorMichal Suchanek <hramrach@gmail.com>
Tue, 18 Aug 2015 15:34:09 +0000 (15:34 +0000)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 30 Oct 2015 21:01:39 +0000 (14:01 -0700)
commit5cfdedb7b9a0fe38aa4838bfe66fb9ebc2c9ce15
treef9b6b8f882819bd02ed3df06baa4caea8222180e
parentfe2585e9c29a650af26824684e5033757fd6bc0c
mtd: ofpart: move ofpart partitions to a dedicated dt node

Parsing direct subnodes of a mtd device as partitions is unreliable
since the mtd device is also part of its bus subsystem and can contain
bus data in subnodes.

Move ofpart data to a subnode of its own so it is clear which data is
part of the partition layout.

Signed-off-by: Michal Suchanek <hramrach@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/ofpart.c