[PATCH v2 01/13] dm: doc: Fix example
Miquel Raynal
miquel.raynal at bootlin.com
Thu Dec 5 14:54:07 CET 2024
`.priv_data_size` does not exist. I believe the actual structure member
was supposed to be `.priv_auto`.
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 8c2c81d7ac9a1f59af67db012c78ed5be276805b..ce914dae342388d770a17e74c72e423ba5c34204 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.47.0
More information about the U-Boot
mailing list