usb: dwc2: Move host-specific core functions into hcd.c
authorJohn Youn <johnyoun@synopsys.com>
Wed, 24 Feb 2016 03:55:00 +0000 (19:55 -0800)
committerFelipe Balbi <balbi@kernel.org>
Fri, 4 Mar 2016 13:14:46 +0000 (15:14 +0200)
commitb02038faa7f1b228983d05633c8345f826b20042
treedec7103c71c8aafb22571d43eaf48553aae56e18
parent58e52ff6a6c3ce964c71b2dd9f06be426f993524
usb: dwc2: Move host-specific core functions into hcd.c

Move host core initialization and host channel routines into hcd.c. This
allows these functions to only be compiled in host-enabled driver
configurations (DRD or host-only).

Tested-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
drivers/usb/dwc2/core.c
drivers/usb/dwc2/core.h
drivers/usb/dwc2/hcd.c
drivers/usb/dwc2/hcd.h