diff options
author | Dario Binacchi <dariobin@libero.it> | 2021-01-15 11:10:26 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-01-15 21:12:38 +0300 |
commit | b0db69b4e1e1bf1109bd9d4a5185cbd4058f4a8b (patch) | |
tree | 9cd2774a53249733c571b51b60bc40da662d201c /drivers/video/seps525.c | |
parent | 83e13c3469c710af03bf43f53aede0f9b7ba2dd0 (diff) | |
download | u-boot-b0db69b4e1e1bf1109bd9d4a5185cbd4058f4a8b.tar.xz |
dm: fix build errors generated by last merges
Something was wrong in the merge process into the mainline.
Some added patches access driver structure fields and functions that
have been modified by previous patches.
The patch renames:
- dev_get_platdata to dev_get_plat
- dev_get_uclass_platdata to dev_get_uclass_plat
- ofdata_to_platdata to of_to_plat
- plat_data_alloc_size to plat_auto
- priv_auto_alloc_size to priv_auto
- video_uc_platdata to video_uc_plat
Signed-off-by: Dario Binacchi <dariobin@libero.it>
Diffstat (limited to 'drivers/video/seps525.c')
-rw-r--r-- | drivers/video/seps525.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/seps525.c b/drivers/video/seps525.c index 369e5e6afc..74c8721e1e 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), }; |