summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlrich Ölmann <u.oelmann@pengutronix.de>2018-12-18 14:58:00 +0100
committerRoland Hieber <rhi@pengutronix.de>2019-01-07 15:47:56 +0100
commitd50f2d8fe6051527d94f2ed1da2ce1b4acab6d0b (patch)
tree8a6a96af569a0ec1ae524e3a3f8bf1ca235c4f86
parente814c02a93d1d759d915edcb1226f1bf03cf6064 (diff)
downloaddt-utils-d50f2d8fe6051527d94f2ed1da2ce1b4acab6d0b.tar.gz
dt-utils-d50f2d8fe6051527d94f2ed1da2ce1b4acab6d0b.tar.xz
state: fix documentation of state_new_from_node()
This ports the following barebox commit: | commit 63b9aad03e2c0d64154426e24eb4e3b2b6dfe780 | Author: Ulrich Ölmann <u.oelmann@pengutronix.de> | Date: Fri Oct 12 08:48:48 2018 +0200 | | state: fix documentation of state_new_from_node() | | Commit a66a8d79871c ("state: remove unused arguments from | state_new_from_node()") removed a little bit too much. | | Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de> | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
-rw-r--r--src/barebox-state/state.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/barebox-state/state.c b/src/barebox-state/state.c
index 8f4ff83..d5b1ddd 100644
--- a/src/barebox-state/state.c
+++ b/src/barebox-state/state.c
@@ -582,6 +582,7 @@ void state_release(struct state *state)
/*
* state_new_from_node - create a new state instance from a device_node
*
+ * @node The device_node describing the new state instance
* @readonly This is a read-only state. Note that with this option set,
* there are no repairs done.
*/