diff options
Diffstat (limited to 'drivers/usb/gadget/max3420_udc.c')
-rw-r--r-- | drivers/usb/gadget/max3420_udc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/max3420_udc.c b/drivers/usb/gadget/max3420_udc.c index 775754a..36f3eb5 100644 --- a/drivers/usb/gadget/max3420_udc.c +++ b/drivers/usb/gadget/max3420_udc.c @@ -826,7 +826,7 @@ static int max3420_udc_probe(struct udevice *dev) uint speed, mode; struct udevice *spid; - slave_pdata = dev_get_parent_platdata(dev); + slave_pdata = dev_get_parent_plat(dev); cs = slave_pdata->cs; speed = slave_pdata->max_hz; mode = slave_pdata->mode; |