aboutsummaryrefslogtreecommitdiff
path: root/include/linker_lists.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linker_lists.h')
-rw-r--r--include/linker_lists.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linker_lists.h b/include/linker_lists.h
index 81a280a884..2fea54c834 100644
--- a/include/linker_lists.h
+++ b/include/linker_lists.h
@@ -219,6 +219,10 @@
*
* This is like ll_entry_get(), but without the extra code, so it is suitable
* for putting into data structures.
+ *
+ * @_type: C type of the list entry, e.g. 'struct foo'
+ * @_name: name of the entry
+ * @_list: name of the list
*/
#define ll_entry_ref(_type, _name, _list) \
((_type *)&_u_boot_list_2_##_list##_2_##_name)