dm: doc: Fix example
`.priv_data_size` does not exist. I believe the actual structure member was supposed to be `.priv_auto`. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
This commit is contained in:
committed by
Fabio Estevam
parent
250a382a89
commit
9fe367bb60
@@ -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),
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user