diff options
author | make shi <b15407@freescale.com> | 2012-11-08 15:26:22 +0800 |
---|---|---|
committer | make shi <b15407@freescale.com> | 2012-11-14 17:52:09 +0800 |
commit | b8ee7558dca70f7db6a93c0d18d8c7a2bf87476b (patch) | |
tree | 3b47b35967972c0d9af8b20a8f3bb10e5ca2e4f2 /arch/arm/mach-mx6/board-mx6q_arm2.c | |
parent | ea1a4f6134acf027884434988e265f3fa4930ddd (diff) |
ENGR00233051-03 Mx6 USB: msl implementation for USB OTG modulization
- remove mx6_usb_dr_init() in board specific initialization files
- Add module_init(mx6_usb_dr_init) and module_exit(mx6_usb_dr_exit)
in usb_dr.c to support the usb_dr modulization
- Export necessary function which is used in usb_dr.c
Signed-off-by: make shi <b15407@freescale.com>
Diffstat (limited to 'arch/arm/mach-mx6/board-mx6q_arm2.c')
-rw-r--r-- | arch/arm/mach-mx6/board-mx6q_arm2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mx6/board-mx6q_arm2.c b/arch/arm/mach-mx6/board-mx6q_arm2.c index 50f26ddafffb..27c404525e64 100644 --- a/arch/arm/mach-mx6/board-mx6q_arm2.c +++ b/arch/arm/mach-mx6/board-mx6q_arm2.c @@ -1244,7 +1244,7 @@ static void __init mx6_arm2_init_usb(void) mxc_iomux_set_gpr_register(1, 13, 1, 1); mx6_set_otghost_vbus_func(imx6_arm2_usbotg_vbus); - mx6_usb_dr_init(); + #ifdef CONFIG_USB_EHCI_ARC_HSIC mx6_usb_h2_init(); mx6_usb_h3_init(); |