[PATCH v5 02/12] dm: doc: Fix example
Miquel Raynal
miquel.raynal at bootlin.com
Wed Mar 26 16:00:46 CET 2025
`.priv_data_size` does not exist. I believe the actual structure member
was supposed to be `.priv_auto`.
Reviewed-by: Simon Glass <sjg at chromium.org>
Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>
---
doc/develop/driver-model/design.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/develop/driver-model/design.rst b/doc/develop/driver-model/design.rst
index 92f638a02047cd31e2ff269fc428a55d59e814c1..1c61fd7146213accf8841982a87ea82eccc32ca1 100644
--- a/doc/develop/driver-model/design.rst
+++ b/doc/develop/driver-model/design.rst
@@ -312,7 +312,7 @@ drivers/demo/demo-shape.c):
.name = "demo_shape_drv",
.id = UCLASS_DEMO,
.ops = &shape_ops,
- .priv_data_size = sizeof(struct shape_data),
+ .priv_auto = sizeof(struct shape_data),
};
--
2.48.1
More information about the U-Boot
mailing list