diff options
| author | Gavin Shan <[email protected]> | 2016-05-03 13:22:50 +0000 |
|---|---|---|
| committer | Rob Herring <[email protected]> | 2016-05-16 12:22:35 +0000 |
| commit | c4263233f30e72f2645ff83c9074c994f88b015a (patch) | |
| tree | 6c53dd42f19c1710a7527ea28cfa4436fd8e7634 /drivers/gpu/drm/tilcdc | |
| parent | drivers/of: Rename unflatten_dt_node() (diff) | |
| download | kernel-c4263233f30e72f2645ff83c9074c994f88b015a.tar.gz kernel-c4263233f30e72f2645ff83c9074c994f88b015a.zip | |
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 <[email protected]>
Signed-off-by: Gavin Shan <[email protected]>
Acked-by: Rob Herring <[email protected]>
Acked-by: Jyri Sarha <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/tilcdc')
| -rw-r--r-- | drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c b/drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c index 106679bca6cb..f9c79dabce20 100644 --- a/drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c +++ b/drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c @@ -157,7 +157,7 @@ struct device_node * __init tilcdc_get_overlay(struct kfree_table *kft) if (!overlay_data || kfree_table_add(kft, overlay_data)) return NULL; - of_fdt_unflatten_tree(overlay_data, &overlay); + of_fdt_unflatten_tree(overlay_data, NULL, &overlay); if (!overlay) { pr_warn("%s: Unfattening overlay tree failed\n", __func__); return NULL; |
