diff options
Diffstat (limited to 'drivers/serial/serial_msm.c')
-rw-r--r-- | drivers/serial/serial_msm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/serial_msm.c b/drivers/serial/serial_msm.c index 3b088b3b23..024c2c956e 100644 --- a/drivers/serial/serial_msm.c +++ b/drivers/serial/serial_msm.c @@ -216,7 +216,7 @@ static int msm_serial_probe(struct udevice *dev) return 0; } -static int msm_serial_ofdata_to_platdata(struct udevice *dev) +static int msm_serial_of_to_plat(struct udevice *dev) { struct msm_serial_data *priv = dev_get_priv(dev); @@ -239,7 +239,7 @@ U_BOOT_DRIVER(serial_msm) = { .name = "serial_msm", .id = UCLASS_SERIAL, .of_match = msm_serial_ids, - .ofdata_to_platdata = msm_serial_ofdata_to_platdata, + .of_to_plat = msm_serial_of_to_plat, .priv_auto = sizeof(struct msm_serial_data), .probe = msm_serial_probe, .ops = &msm_serial_ops, |