diff options
Diffstat (limited to 'drivers/mfd/omap-usb-host.c')
-rw-r--r-- | drivers/mfd/omap-usb-host.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mfd/omap-usb-host.c b/drivers/mfd/omap-usb-host.c index 680041189c41..95a2e546a489 100644 --- a/drivers/mfd/omap-usb-host.c +++ b/drivers/mfd/omap-usb-host.c | |||
@@ -799,14 +799,13 @@ static int __devinit usbhs_omap_probe(struct platform_device *pdev) | |||
799 | 799 | ||
800 | platform_set_drvdata(pdev, omap); | 800 | platform_set_drvdata(pdev, omap); |
801 | 801 | ||
802 | omap_usbhs_init(dev); | ||
802 | ret = omap_usbhs_alloc_children(pdev); | 803 | ret = omap_usbhs_alloc_children(pdev); |
803 | if (ret) { | 804 | if (ret) { |
804 | dev_err(dev, "omap_usbhs_alloc_children failed\n"); | 805 | dev_err(dev, "omap_usbhs_alloc_children failed\n"); |
805 | goto err_alloc; | 806 | goto err_alloc; |
806 | } | 807 | } |
807 | 808 | ||
808 | omap_usbhs_init(dev); | ||
809 | |||
810 | goto end_probe; | 809 | goto end_probe; |
811 | 810 | ||
812 | err_alloc: | 811 | err_alloc: |