summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mx6/usb_h2.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-mx6/usb_h2.c')
-rw-r--r--arch/arm/mach-mx6/usb_h2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-mx6/usb_h2.c b/arch/arm/mach-mx6/usb_h2.c
index 37cad034d173..be092ab8c97c 100644
--- a/arch/arm/mach-mx6/usb_h2.c
+++ b/arch/arm/mach-mx6/usb_h2.c
@@ -237,6 +237,7 @@ void __init mx6_usb_h2_init(void)
pdev_wakeup = imx6sl_add_fsl_usb2_hs_wakeup(2, &usbh2_wakeup_config);
else
pdev_wakeup = imx6q_add_fsl_usb2_hs_wakeup(2, &usbh2_wakeup_config);
+ platform_device_add(pdev);
((struct fsl_usb2_platform_data *)(pdev->dev.platform_data))->wakeup_pdata =
pdev_wakeup->dev.platform_data;
/* Some phy and power's special controls for host2