diff mbox series

of/fdt: Document detached argument to __unflatten_device_tree()

Message ID 20171013074129.13109-1-stephen.boyd@linaro.org
State Accepted
Commit f5d2da67714a48e9d06f27714967630c3d3b28a2
Headers show
Series of/fdt: Document detached argument to __unflatten_device_tree() | expand

Commit Message

Stephen Boyd Oct. 13, 2017, 7:41 a.m. UTC
This wasn't documented.

Signed-off-by: Stephen Boyd <stephen.boyd@linaro.org>

---
 drivers/of/fdt.c | 1 +
 1 file changed, 1 insertion(+)

-- 
2.14.GIT

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Frank Rowand Oct. 13, 2017, 10:06 p.m. UTC | #1
On 10/13/17 00:41, Stephen Boyd wrote:
> This wasn't documented.

> 

> Signed-off-by: Stephen Boyd <stephen.boyd@linaro.org>

> ---

>  drivers/of/fdt.c | 1 +

>  1 file changed, 1 insertion(+)

> 

> diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c

> index ce30c9a588a4..4ea4dad13707 100644

> --- a/drivers/of/fdt.c

> +++ b/drivers/of/fdt.c

> @@ -467,6 +467,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.

> 


Reviewed-by: Frank Rowand <frowand.list@gmail.com>


--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Rob Herring (Arm) Oct. 16, 2017, 9:50 p.m. UTC | #2
On Fri, Oct 13, 2017 at 12:41:29AM -0700, Stephen Boyd wrote:
> This wasn't documented.

> 

> Signed-off-by: Stephen Boyd <stephen.boyd@linaro.org>

> ---

>  drivers/of/fdt.c | 1 +

>  1 file changed, 1 insertion(+)


Applied.

Rob
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox series

Patch

diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c
index ce30c9a588a4..4ea4dad13707 100644
--- a/drivers/of/fdt.c
+++ b/drivers/of/fdt.c
@@ -467,6 +467,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.