diff options
Diffstat (limited to 'drivers/misc/i2c_eeprom_emul.c')
-rw-r--r-- | drivers/misc/i2c_eeprom_emul.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/i2c_eeprom_emul.c b/drivers/misc/i2c_eeprom_emul.c index 6be76ad02e..2089df1e00 100644 --- a/drivers/misc/i2c_eeprom_emul.c +++ b/drivers/misc/i2c_eeprom_emul.c @@ -200,7 +200,7 @@ U_BOOT_DRIVER(sandbox_i2c_emul) = { .ofdata_to_platdata = sandbox_i2c_eeprom_ofdata_to_platdata, .probe = sandbox_i2c_eeprom_probe, .remove = sandbox_i2c_eeprom_remove, - .priv_auto_alloc_size = sizeof(struct sandbox_i2c_flash), - .platdata_auto_alloc_size = sizeof(struct sandbox_i2c_flash_plat_data), + .priv_auto = sizeof(struct sandbox_i2c_flash), + .platdata_auto = sizeof(struct sandbox_i2c_flash_plat_data), .ops = &sandbox_i2c_emul_ops, }; |