summaryrefslogtreecommitdiff
path: root/drivers/misc/i2c_eeprom_emul.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/i2c_eeprom_emul.c')
-rw-r--r--drivers/misc/i2c_eeprom_emul.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/i2c_eeprom_emul.c b/drivers/misc/i2c_eeprom_emul.c
index 2089df1e00..65db9c808f 100644
--- a/drivers/misc/i2c_eeprom_emul.c
+++ b/drivers/misc/i2c_eeprom_emul.c
@@ -201,6 +201,6 @@ U_BOOT_DRIVER(sandbox_i2c_emul) = {
.probe = sandbox_i2c_eeprom_probe,
.remove = sandbox_i2c_eeprom_remove,
.priv_auto = sizeof(struct sandbox_i2c_flash),
- .platdata_auto = sizeof(struct sandbox_i2c_flash_plat_data),
+ .plat_auto = sizeof(struct sandbox_i2c_flash_plat_data),
.ops = &sandbox_i2c_emul_ops,
};