aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/of/fdt.c
diff options
context:
space:
mode:
authorStephen Boyd <stephen.boyd@linaro.org>2017-10-13 00:41:29 -0700
committerRob Herring <robh@kernel.org>2017-10-16 16:49:18 -0500
commitf5d2da67714a48e9d06f27714967630c3d3b28a2 (patch)
tree2500bc5b390ed4049945530170427983ffe69232 /drivers/of/fdt.c
parentof/resolver: Replace kmalloc + memcpy with kmemdup() (diff)
downloadlinux-dev-f5d2da67714a48e9d06f27714967630c3d3b28a2.tar.xz
linux-dev-f5d2da67714a48e9d06f27714967630c3d3b28a2.zip
of/fdt: Document detached argument to __unflatten_device_tree()
This wasn't documented. Signed-off-by: Stephen Boyd <stephen.boyd@linaro.org> Reviewed-by: Frank Rowand <frowand.list@gmail.com> Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/of/fdt.c')
-rw-r--r--drivers/of/fdt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c
index 2d515b85a198..4675e5ac4d11 100644
--- a/drivers/of/fdt.c
+++ b/drivers/of/fdt.c
@@ -437,6 +437,7 @@ static int unflatten_dt_nodes(const void *blob,
* @mynodes: The device_node tree created by the call
* @dt_alloc: An allocator that provides a virtual address to memory
* for the resulting tree
+ * @detached: if true set OF_DETACHED on @mynodes
*
* Returns NULL on failure or the memory chunk containing the unflattened
* device tree on success.