[PATCH 01/17] doc: Correct documentation for uclass_root

Simon Glass sjg at chromium.org
Thu Jan 14 04:29:41 CET 2021


The comments are swapped at present so this produces an error with
'make htmldocs'. Fix it.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 include/asm-generic/global_data.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h
index aa6bba8645d..63bcf109d40 100644
--- a/include/asm-generic/global_data.h
+++ b/include/asm-generic/global_data.h
@@ -192,12 +192,12 @@ struct global_data {
 	 */
 	struct udevice *dm_root_f;
 	/**
-	 * @uclass_root: head of core tree
+	 * @uclass_root_s: head of core tree
 	 */
 	struct list_head uclass_root_s;
 	/**
 	 * @uclass_root: pointer to head of core tree, if uclasses are in
-	 * read-only memory and cannot be adjusted to use @uclass_root as a
+	 * read-only memory and cannot be adjusted to use @uclass_root_s as a
 	 * list head.
 	 */
 	struct list_head *uclass_root;
-- 
2.30.0.284.gd98b1dd5eaa7-goog



More information about the U-Boot mailing list