summaryrefslogtreecommitdiffstats
path: root/common/state/state.c
diff options
context:
space:
mode:
authorUlrich Ölmann <u.oelmann@pengutronix.de>2018-10-12 08:48:48 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2018-10-12 09:11:43 +0200
commit63b9aad03e2c0d64154426e24eb4e3b2b6dfe780 (patch)
treec79aae1ccb94a10c48d11be78eb30a6239aacbf1 /common/state/state.c
parentebe29c846eeb2256e6f459dfbd16405949952b75 (diff)
downloadbarebox-63b9aad03e2c0d64154426e24eb4e3b2b6dfe780.tar.gz
barebox-63b9aad03e2c0d64154426e24eb4e3b2b6dfe780.tar.xz
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>
Diffstat (limited to 'common/state/state.c')
-rw-r--r--common/state/state.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/state/state.c b/common/state/state.c
index 25d9502111..7f03259209 100644
--- a/common/state/state.c
+++ b/common/state/state.c
@@ -583,6 +583,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.
*/