drivers: usb: fsl: Make function for initialization to use in CONFIG_DM_USB
authorRajesh Bhagat <rajesh.bhagat@nxp.com>
Fri, 1 Jul 2016 13:21:45 +0000 (18:51 +0530)
committerMarek Vasut <marex@denx.de>
Sun, 7 Aug 2016 19:55:43 +0000 (21:55 +0200)
commit1e61ce9f7ef5fc2e551322aa990d76a918515a20
treeeb19e2345e3fafdb443fb748282356c7972fb04c
parent2b58e1b76d2630f67e642a273f0975a11ead428d
drivers: usb: fsl: Make function for initialization to use in CONFIG_DM_USB

Moves code from ehci_hcd_init to new function ehci_fsl_init
which can be re-used in CONFIG_DM_USB.

Signed-off-by: Rajesh Bhagat <rajesh.bhagat@nxp.com>
drivers/usb/host/ehci-fsl.c