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/spi/ca_sflash.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/spi/ca_sflash.c')
-rw-r--r-- | drivers/spi/ca_sflash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/ca_sflash.c b/drivers/spi/ca_sflash.c index 00af6bffa6..84569845b7 100644 --- a/drivers/spi/ca_sflash.c +++ b/drivers/spi/ca_sflash.c @@ -571,6 +571,6 @@ U_BOOT_DRIVER(ca_sflash) = { .id = UCLASS_SPI, .of_match = ca_sflash_ids, .ops = &ca_sflash_ops, - .priv_auto_alloc_size = sizeof(struct ca_sflash_priv), + .priv_auto = sizeof(struct ca_sflash_priv), .probe = ca_sflash_probe, }; |