diff options
Diffstat (limited to 'drivers/mfd/omap-usb-host.c')
-rw-r--r-- | drivers/mfd/omap-usb-host.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mfd/omap-usb-host.c b/drivers/mfd/omap-usb-host.c index 759fae3ca7fb..d2b8e7189907 100644 --- a/drivers/mfd/omap-usb-host.c +++ b/drivers/mfd/omap-usb-host.c | |||
@@ -232,7 +232,7 @@ err_end: | |||
232 | static int omap_usbhs_alloc_children(struct platform_device *pdev) | 232 | static int omap_usbhs_alloc_children(struct platform_device *pdev) |
233 | { | 233 | { |
234 | struct device *dev = &pdev->dev; | 234 | struct device *dev = &pdev->dev; |
235 | struct usbhs_omap_platform_data *pdata = dev->platform_data; | 235 | struct usbhs_omap_platform_data *pdata = dev_get_platdata(dev); |
236 | struct platform_device *ehci; | 236 | struct platform_device *ehci; |
237 | struct platform_device *ohci; | 237 | struct platform_device *ohci; |
238 | struct resource *res; | 238 | struct resource *res; |
@@ -571,7 +571,7 @@ static struct of_device_id usbhs_child_match_table[] = { | |||
571 | static int usbhs_omap_probe(struct platform_device *pdev) | 571 | static int usbhs_omap_probe(struct platform_device *pdev) |
572 | { | 572 | { |
573 | struct device *dev = &pdev->dev; | 573 | struct device *dev = &pdev->dev; |
574 | struct usbhs_omap_platform_data *pdata = dev->platform_data; | 574 | struct usbhs_omap_platform_data *pdata = dev_get_platdata(dev); |
575 | struct usbhs_hcd_omap *omap; | 575 | struct usbhs_hcd_omap *omap; |
576 | struct resource *res; | 576 | struct resource *res; |
577 | int ret = 0; | 577 | int ret = 0; |