summaryrefslogtreecommitdiff
path: root/drivers/fmc/fmc-match.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/fmc/fmc-match.c')
-rw-r--r--drivers/fmc/fmc-match.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/fmc/fmc-match.c b/drivers/fmc/fmc-match.c
index 104a5efc2207..a0956d1f7550 100644
--- a/drivers/fmc/fmc-match.c
+++ b/drivers/fmc/fmc-match.c
@@ -63,7 +63,7 @@ int fmc_fill_id_info(struct fmc_device *fmc)
if (!fmc->eeprom)
return -ENOMEM;
allocated = 1;
- ret = fmc->op->read_ee(fmc, 0, fmc->eeprom, fmc->eeprom_len);
+ ret = fmc_read_ee(fmc, 0, fmc->eeprom, fmc->eeprom_len);
if (ret < 0)
goto out;
}