summaryrefslogtreecommitdiff
path: root/include/linker_lists.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-03-15 17:25:14 +1300
committerSimon Glass <sjg@chromium.org>2021-03-22 19:23:28 +1300
commit607f9bcb0d0af57c52bacf4d3aeb3a7d389ea206 (patch)
tree98b173750b5a254c75006a67edae4d5642017da5 /include/linker_lists.h
parent851144350b6ff1d4982b9af2f9b0fe48aed24b3c (diff)
dm: core: Add macros to access the new linker lists
Add macros which work with instantiated devices and uclasses, as created at build time by dtoc. Include variants that can be used in data structures. These are mostly used by dtoc but it is worth documenting them fully for the occasional case where they might come up in user code. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/linker_lists.h')
-rw-r--r--include/linker_lists.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linker_lists.h b/include/linker_lists.h
index 0ca30da417..81a280a884 100644
--- a/include/linker_lists.h
+++ b/include/linker_lists.h
@@ -214,8 +214,8 @@
/**
* ll_entry_ref() - Get a reference to a linker-generated array entry
*
- * Once ll_entry_decl() has been used to declare the reference, this macro
- * allows the entry to be accessed.
+ * Once an extern ll_entry_declare() has been used to declare the reference,
+ * this macro allows the entry to be accessed.
*
* This is like ll_entry_get(), but without the extra code, so it is suitable
* for putting into data structures.