Some structures/functions have been renamed which are not reflected in this
driver.
Commit 8a8d24bdf174 ("dm: treewide: Rename ..._platdata variables to just
..._plat"), commit c69cda25c9b5 ("dm: treewide: Rename dev_get_platdata()
to dev_get_plat()"), commit caa4daa2ae3d ("dm: treewide: Rename 'platdata'
variables to just 'plat'") and commit 41575d8e4c33 ("dm: treewide: Rename
auto_alloc_size members to be shorter") are describing these changes.

Signed-off-by: Michal Simek <[email protected]>
---

Driver was developed based on master branch and next got more changes.
---
 drivers/video/seps525.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/video/seps525.c b/drivers/video/seps525.c
index 369e5e6afc87..74c8721e1e11 100644
--- a/drivers/video/seps525.c
+++ b/drivers/video/seps525.c
@@ -299,7 +299,7 @@ static int seps525_probe(struct udevice *dev)
 
 static int seps525_bind(struct udevice *dev)
 {
-       struct video_uc_platdata *plat = dev_get_uclass_platdata(dev);
+       struct video_uc_plat *plat = dev_get_uclass_plat(dev);
 
        plat->size = WIDTH * HEIGHT * 16;
 
@@ -320,8 +320,8 @@ U_BOOT_DRIVER(seps525_video) = {
        .id = UCLASS_VIDEO,
        .of_match = seps525_ids,
        .ops = &seps525_ops,
-       .platdata_auto_alloc_size = sizeof(struct video_uc_platdata),
+       .plat_auto = sizeof(struct video_uc_plat),
        .bind = seps525_bind,
        .probe = seps525_probe,
-       .priv_auto_alloc_size = sizeof(struct seps525_priv),
+       .priv_auto = sizeof(struct seps525_priv),
 };
-- 
2.30.0

Reply via email to