diff options
Diffstat (limited to 'drivers/adc/sandbox.c')
-rw-r--r-- | drivers/adc/sandbox.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/adc/sandbox.c b/drivers/adc/sandbox.c index 905ce4fc51f..6e435462ab8 100644 --- a/drivers/adc/sandbox.c +++ b/drivers/adc/sandbox.c @@ -135,7 +135,7 @@ int sandbox_adc_probe(struct udevice *dev) return 0; } -int sandbox_adc_ofdata_to_platdata(struct udevice *dev) +int sandbox_adc_of_to_plat(struct udevice *dev) { struct adc_uclass_plat *uc_pdata = dev_get_uclass_plat(dev); @@ -168,6 +168,6 @@ U_BOOT_DRIVER(sandbox_adc) = { .of_match = sandbox_adc_ids, .ops = &sandbox_adc_ops, .probe = sandbox_adc_probe, - .ofdata_to_platdata = sandbox_adc_ofdata_to_platdata, + .of_to_plat = sandbox_adc_of_to_plat, .priv_auto = sizeof(struct sandbox_adc_priv), }; |