drivers/of: Specify parent node in of_fdt_unflatten_tree()
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Tue, 3 May 2016 13:22:50 +0000 (23:22 +1000)
committerRob Herring <robh@kernel.org>
Mon, 16 May 2016 12:22:35 +0000 (07:22 -0500)
commitc4263233f30e72f2645ff83c9074c994f88b015a
tree6c53dd42f19c1710a7527ea28cfa4436fd8e7634
parent947c82cbf01c9c6012cb96e385b5f6d6d1e1decb
drivers/of: Specify parent node in of_fdt_unflatten_tree()

This adds one more argument to of_fdt_unflatten_tree() to specify
the parent node of the FDT blob that is going to be unflattened.
In the result, the function can be used to unflatten FDT blob that
represents device sub-tree in PowerNV PCI hotplug driver.

Cc: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c
drivers/of/fdt.c
drivers/of/unittest.c
include/linux/of_fdt.h