From: Stephen Boyd <stephen.boyd@linaro.org>
Date: Fri, 13 Oct 2017 07:41:29 +0000 (-0700)
Subject: of/fdt: Document detached argument to __unflatten_device_tree()
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f5d2da67714a48e9d06f27714967630c3d3b28a2;p=linux.git

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>
---

diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c
index 2d515b85a198f..4675e5ac4d11a 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.