diff options
Diffstat (limited to 'drivers/misc/rockchip-efuse.c')
-rw-r--r-- | drivers/misc/rockchip-efuse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/rockchip-efuse.c b/drivers/misc/rockchip-efuse.c index 4659d4eb87f..08e30bae06c 100644 --- a/drivers/misc/rockchip-efuse.c +++ b/drivers/misc/rockchip-efuse.c @@ -137,7 +137,7 @@ static const struct misc_ops rockchip_efuse_ops = { .read = rockchip_efuse_read, }; -static int rockchip_efuse_ofdata_to_platdata(struct udevice *dev) +static int rockchip_efuse_of_to_plat(struct udevice *dev) { struct rockchip_efuse_platdata *plat = dev_get_plat(dev); @@ -154,7 +154,7 @@ U_BOOT_DRIVER(rockchip_efuse) = { .name = "rockchip_efuse", .id = UCLASS_MISC, .of_match = rockchip_efuse_ids, - .ofdata_to_platdata = rockchip_efuse_ofdata_to_platdata, + .of_to_plat = rockchip_efuse_of_to_plat, .plat_auto = sizeof(struct rockchip_efuse_platdata), .ops = &rockchip_efuse_ops, }; |