[PATCH] state: fix documentation of state_new_from_node()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Commit a66a8d79871c ("state: remove unused arguments from
state_new_from_node()") removed a little bit too much.

Signed-off-by: Ulrich Ölmann <u.oelmann@xxxxxxxxxxxxxx>
---
 common/state/state.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/state/state.c b/common/state/state.c
index 25d9502111c2..7f032592097d 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.
  */
-- 
2.19.0


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux